Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/iamnaveen8851/todo_app_backend_revision


https://github.com/iamnaveen8851/todo_app_backend_revision

bcrypt expressjs jsonwebtoken mongodb mongoose node nodemon

Last synced: about 2 hours ago
JSON representation

Awesome Lists containing this project

README

        

## Todo App Backend setup

Packages

- express js
- nodemon
- dotenv
- bcrypt
- jsonwebtoken or jwt
- mongoose

### Structure of todo backend

```
- server.js
- .env
- .gitignore
- config dir/connectDb.js

- models dir
/userSchema/userSchema.js
/userModels/userModel.js
/todoSchema/todoSchema.js
/todoModel/todoModel.js

- routes dir
/userRouter.js
/todoRouter.js

- controllers dir
/signUp.js
/login.js
/getUsers.js
/addTodo.js
/getTodo.js
/updateTodo.js
/deleteTodo.js

- middlewares dir
/authMiddleware.js

```