Skip to content

Latest commit

 

History

History
 
 

E-Commerce

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

💥 E COMMERCE APPLICATION 💥

Tech Stack Used 🎮

Node.js Express.js MongoDB

Line

⚡ Description 📃

  • Backend infrastructure for an e commerce application.

⚡ How to run it? 🕹️

  1. Fork the repository.

  2. Clone the project.

git clone repository-url
  1. Install dependencies.
npm install
  1. Create and update .env file.
PORT=YOUR_PORT
MONGODB_URL=YOUR_MONGODB_URL
JWT_SECRET_KEY=YOUR_JWT_SECRET_KEY
JWT_REFRESH_SECRET_KEY=YOUR_REFRESH_SECRET_KEY
EMAIL=YOUR_EMAIL
EMAIL_PASSWORD=YOUR_EMAIL_PASSWORD
  1. Run the server.
npm start
  1. Check the endpoints via postman/frontend.

⚡ Screenshots 📸

REGISTER (Authentication: No)

RESEND OTP (Authentication: No)

VERIFY OTP (Authentication: No)

LOGIN (Authentication: No)

REFRESH TOKEN (Authentication: No)

CREATE CATEGORY (Authentication: ADMIN)

UPDATE CATEGORY (Authentication: ADMIN)

DELETE CATEGORY (Authentication: ADMIN)

GET ALL CATEGORY (Authentication: No)

GET CATEGORY BY ID (Authentication: No)

CREATE PRODUCT (Authentication: ADMIN)

UPDATE PRODUCT (Authentication: ADMIN)

DELETE PRODUCT (Authentication: ADMIN)

FILTER PRODUCTS (Authentication: No)

GET PRODUCT BY ID (Authentication: No)

ADD ITEM TO WISHLIST (Authentication: USER)

REMOVE ITEM FROM WISHLIST (Authentication: USER)

GET WISHLIST BY USER (Authentication: USER)

ADD ITEM TO CART (Authentication: USER)

UPDATE QUANTITY OF ITEM IN CART (Authentication: USER)

REMOVE ITEM FROM CART (Authentication: USER)

CLEAR CART (Authentication: USER)

GET CART BY USER (Authentication: USER)

CREATE ORDER (Authentication: USER)

UPDATE ORDER STATUS (Authentication: ADMIN)

GET ALL ORDER (Authentication: ADMIN)

GET ORDER BY USER (Authentication: ADMIN, USER)

GET ORDER BY STATUS (Authentication: ADMIN, USER)

GET ORDER BY ID (Authentication: ADMIN, USER)

Line

Developed By DHARSHI B. 👩

Happy Coding 🧑‍💻

Show some  ❤️  by  🌟  this repository!