Giter Site home page Giter Site logo

ebookshop's Introduction

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

ebookshop's People

Contributors

shivam4819 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.