This repository is used to teach about nodejs, express and mongodb.
The API manages:
- Authentication through jwt.
- User model (GET, POST, PUT, DELETE).
- To-do model (GET, POST, PUT, DELETE, PATCH).
- Student model (GET, POST, PUT, DELETE).
- Install MongoDB in your localhost. More information.
- Install MongoDB Compass to admin your database (Optional) More information.
- Clone the repo
git clone [email protected]:jasondiazg/todo-api.git
orgit clone https://github.com/jasondiazg/todo-api.git
. - Install dependencies
npm install
. - Execute project
npm start
.
This API is managed with an UI in this other project Todo-App.