It is a simple backend project for making REST API with NodeJS. Task manager complete with user accounts and authentication. Using Postman to simulate the request.
- Sending Emails
- Authentication and Security
- Filtering, Pagination and Sorting
- Avatar upload
- Testing
.
.
├── src
│ ├── app.js
│ ├── index.js
│ ├── routers
│ │ ├── task.js
│ │ └── user.js
│ ├── models
│ │ ├── task.js
│ │ └── user.js
│ ├── middleware
│ │ └── auth.js
│ ├── email
│ │ └── account.js
│ └── db
│ └── mongoose.js
└── tests
├── __mocks__
├── fixtures
├── task.test.js
└── user.test.js
POST
: Signup new user
GET
: Get user profilePATCH
: Update user profileDELETE
: Delete user profile
POST
: Upload user avatarDELETE
: Delete user avatar
POST
: Login user
POST
: Logout user
POST
: Logout all sessions
POST
: Create a taskGET
: Get all tasks created by user
PATCH
: Update a task by idDELETE
: Delete a task by id