Skip to content

david-matei/eShop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online-Shop-Project

shopping-site-API

An API for an e-commerce website. Complete with authentication, authorization and access control Read documentation !COMING SOON -> here

How to set up locally.

  • Clone the repo.
  • Run npm install to install dependencies.
  • input environment variables for MONGO_URI, PORT, JWT_SECRET, REFRESH_TOKEN, MAIL_USERNAME, MAIL_PASSWORD, OAUTH_CLIENTID, OAUTH_CLIENT_SECRET, OAUTH_REFRESH_TOKEN, STRIPE_SECRET_KEY, STRIPE_PUBLISHABLE_KEY, GPT_KEY
  • enter npm run dev in the terminal to start up the development server.

Technology

  • This API is created using the Node JS language and Express JS framework.
  • It uses MongoDB database.

Users are able to:

  • Get suggestions in real time from the artificial intelligence service using websockets.
  • Sign up or create accounts then sign in, log out.
  • Verify their email.
  • Edit their information.
  • Search products by keywords and filter results. Results will be paginated, 10 products/page
  • Get list of available products for sale and their details.
  • Search for a particular product by id.
  • Get products by categories.
  • See product reviews/See by rating.
  • Place orders and make online payments to purchase products.
  • Others...

Admin is able to:

  • Upload or create new products and details.
  • Update or edit existing product details.
  • Delete products.
  • Update other users access.
  • Others...

About

API for a potential online market.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published