Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dz1kill/backend_todo_list


https://github.com/dz1kill/backend_todo_list

mongodb nodejs todo

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

## Description

todo-list.

Docker is used to organize work with MongoDB. For client-server communication via HTTP, the Express framework is used. Mongoose is used to communicate with MongoDB. Bcrypt is used for hashing passwords. To generate JWT tokens.
Functional:

1. User registers.
2. The user logs in.
3. The user can save his tasks in them (task description, start date, end date of the task).
4. The user can change his tasks (task description, completion date, start date, completed or not completed).
5. The user can delete his tasks.
6. The user has the ability to filter tasks by the completed field. Implemented pagination.

## Running the app

```bash
# Copy local.json file to config folder.

# Downloading the database image and running the image.
$ docker-compose up

# Start the server.
$ npm run start

```

## Test

Documentation (Swagger UI) is available at: [link] http://localhost:3000/api/

node v16.14.2