Skip to content

An API for managing an online bookstore with MongoDB, Node js and Express

Notifications You must be signed in to change notification settings

tormgibbs/Online-BookStore-API

Repository files navigation

Online-BookStore-API

An API for managing an online bookstore with MongoDB, Node js and Express

INSTALLATION.

  • Clone the repository: git clone https://github.com/tormgibbs/Online-BookStore-API
  • Navigate to project directory: cd Online-BookStore-API
  • Install dependencies using npm install command in your terminal or cmd : npm install
  • Start server by running nodemon server.js (if you have installed nodemon) else use node server.js
  • Open http://localhost:3000 on your browser to see the documentation of APIs.

FEATURES OF THE PROJECT

  1. User Registration & Login: Users can register themselves into the system and then login to access other functionalities.
  2. User Registration & Authentication
  3. Manage Books (Create, Read, Update, Delete a Book)
  4. Search For Books By Title, Author, Genre etc.
  5. Add / Remove books from Shopping Cart
  6. Place Order
  7. Payment Gateway Integration (Stripe is used as payment gateway)
  8. Send Email Confirmations To Users After Signing Up And Placing Orders
  9. Admin Dashboard With CRUD Operations On Books, Users, Orders, Reviews
  10. Implemented JWT based authentication for restricted routes.

NOTE: The provided codebase assumes that Stripe

public key has been added to the .env file. If not present, please add it there. Also, make sure to set up the email service keys are stored in environment variables which need to be keys are stored in environment variables. You need to keys are stored in environment variables. If not present keys are stored in environment variables. If not set keys are stored in environment variables.

About

An API for managing an online bookstore with MongoDB, Node js and Express

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published