Skip to content

Shivam4819/EBookShop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EBookShop

This app is build to enable user to buy books online , it has two front one for user and one for admin. Application is eniterly build on MERN stack

TechStack

Nodejs, Reactjs, Mongodb, JWT, Antd, Postman

API

updated api are present inside Backend/routers file

1.Books

  • Get books- this api will display all the books to both user and this api does not need authentication
  • Post book- this api help admin to add new book to database and require user authentication
  • Get particular book- this api help user to get detail of specific book based on id
  • Delete book- this help admin to delete the particular book based on id
  • Update book- this api allow admin to update details like award name for the book or the books price

2.Categories

  • Get book category- this api will display all the categories and this api does not need authentication
  • Post new category- this api help admin to add new book category to database and require user authentication
  • Get particular category- this api help user to get detail of specific book category based on id
  • Delete book category- this help admin to delete the particular book category based on id
  • Update book category- this api allow admin to update book category based on id

3.Order

  • Get order- this api will display all the order to the admin
  • Post new order- this api help user buy new books
  • Get particular order- this api help admin to get detail of specific order based on id
  • Delete book- this help admin to delete the particular book based on id
  • Update order status- this api allow admin to update order status from pending to dispatched to delivered

4.User

  • Get user record- this api will display user details to admin
  • Register user- this api help users register themselves on the application
  • Get specific user- this api help admin to get detail of particular user based on id
  • Delete user- this help admin to delete the particular user based on id
  • Authenticate user- this api allow users to authenicate there details and it generates a jwt token as response

Models

There 5 models used in this project

  • user
  • books
  • category
  • order
  • order-items

updated schema is present inside models Backend/folders file

Frontend-

The front end is only build using react js and its code is present inside frontend folder

Note-

Front end is only build for admin side and user side it has to be developed and jwt is still not integrated with the front end so its still pending

Video Link-

* Backend

* Frontend

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published