Skip to content

Coursera developing Back-End apps with Node.js and Express final project.

Notifications You must be signed in to change notification settings

Mina-Girgis/IBM-Node.js-Course

Repository files navigation

Books Aplication Using NodeJs and Express (IBM)

Final project for developing back-end apps with Node.js and Express

Built With

  • JavaScript
  • Node.js
  • Express.Js
  • NPM
  • MongoDB & Mongoose

Features

  • Authentication

    • User can create an account with email.
    • Passwords are encrypted.
    • Each user has JWT.
  • Authorization

    • Only authenticated users are authorized to perform the operations.
    • Only Admin can add new books.
  • MongoDB & Mongoose

    • All data are stored in mongodb
  • Error Handling

    • A global error handling function has been implemented in this project.
  • MVC

Routes List:

User

Method URI Action
POST api/user/ \Controllers\authController@signUp
POST api/user/login \Controllers\authController@login

Books

Method URI Action
GET api/book/ \Controllers\bookController@getAllBooks
POST api/book/add/ \Controllers\bookController@addBook

Review

Method URI Action
GET api/book/:id/review/ \Controllers\reviewController@getAllReviews
POST api/book/:id/review/ \Controllers\reviewController@addReview
PUT api/book/:id/review/ \Controllers\reviewController@updateReview
DELETE api/book/:id/review/ \Controllers\reviewController@deleteReview

About

Coursera developing Back-End apps with Node.js and Express final project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published