Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/iamnaveen8851/todo_app_backend_revision
- Owner: iamnaveen8851
- Created: 2024-10-28T09:00:41.000Z (22 days ago)
- Default Branch: main
- Last Pushed: 2024-11-08T07:15:05.000Z (11 days ago)
- Last Synced: 2024-11-08T08:24:57.908Z (11 days ago)
- Topics: bcrypt, expressjs, jsonwebtoken, mongodb, mongoose, node, nodemon
- Language: JavaScript
- Homepage:
- Size: 26.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readMe.md
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```