Features
- Login
- Signup
- CRUD a todo (Need login to CUD)
What used
Back-end : Node.js, Express.js
Data fetching : Mongoose
Authentication : JWT
Pre-work
- Node.js must be installed in your computer.
- Mongoose Atlas DB account.
How to run
- Clone or download project
- Go to the project directory in command prompt
- Install dependencies -> "npm install"
- Run app -> "npm start"
- Load "localhost:3000" in web browser/postman
API Endpoints
Users
get: /users
login: users/login
signup: /users/signup
delete: /users/:userID
To-do's (auth required)
get: /tasks
post: /tasks
update: /tasks/:taskID
delete: /tasks/:taskID