The todos-service
handles CRUD operations for managing todos.
It's built using Node.js and MongoDB.
- There is a single user for the application, and no authentication is required.
todos-service provides the following endpoints:
GET /todos
- Retrieves all todos.POST /todos
- Creates a new todo.PUT /todos/:id
- Updates a todo by ID.DELETE /todos/:id
- Deletes a todo by ID.
-
Clone the repository:
git clone https://github.com/danielbellmas/todos-service.git
-
Install the dependencies for
todos-service
:npm install
-
Add a
.env
file in the root directory according to.env.example
-
Start the
todos-service
:npm start