Skip to content

Latest commit

 

History

History
52 lines (29 loc) · 1.17 KB

README.md

File metadata and controls

52 lines (29 loc) · 1.17 KB

Todo CRUD API with MongoDB

Description

A Todo CRUD API that allows a user to create, get, update and delete a todo list.

With authentication and authorization implemented, users can register, verify email, login, recover password and set user roles.

Some user and todo routes such as setRoles, createTodo, updateTodo, and deleteTodo are admin protected, while getAllTodo and getTodoByID are auth protected.

Technologies

  • NodeJS
  • Express
  • MongoDB (Service used: Atlas cloud cluster)
  • Mongoose
  • Nodemailer

Screenshots

Register User

Snapshot of testClient

Verify User using OTP

Snapshot of mail received Snapshot of testClient

Login User

Snapshot of testClient

Logout User

Snapshot of testClient

Password Recovery Mail

Snapshot of mail received

Admin Protected Routes

Snapshot of testClient Snapshot of testClient

Auth Protected Route

Snapshot of testClient