This is a simple TO-DOs web application built with microservices architecture.
- Create, edit, and delete TO-DOs.
- Set deadlines for TO-DOs.
- Receive notifications for approaching deadlines.
- Node.js
- Express.js
- MongoDB
- RabbitMQ
- Nginx (Reverse Proxy)
- Node.js (v16 or higher)
- Docker and Docker Compose
- Clone the repository:
git clone https://github.com/natilusky/Todo.git
- Navigate to the project directory:
cd Todo
- Build and start the containers:
docker-compose up
- Set up environment variables:
- Create a
.env
file in the root directory of each service (e.g.,todos-service/.env
,notifications-service/.env
) based on the provided.env.example
files. Modify the variables as needed.
The API endpoints can be tested using the provided Postman collection. Follow the steps below to import the collection and start testing the API.
- Open Postman and click on the "Import" button.
- Select the "Import" option.
- Enter past the following json to import the collection:
- Once imported, you will have access to all the available API endpoints.
- Set the appropriate environment variables or update the request URLs to match your local setup.
- Start testing the endpoints by sending requests and observing the responses.