Skip to content

Latest commit

 

History

History
80 lines (69 loc) · 1.75 KB

README.md

File metadata and controls

80 lines (69 loc) · 1.75 KB

🛒 MERN E-commerce App

Live Website 🚀

https://featured-e-commerce.vercel.app/shop

This app is built using:

Server :

  • NodeJs
  • ExpressJs

Client :

  • ReactJs
  • Redux Toolkit
  • TailwindCss
  • ShadcnUi

Database :

  • MongoDB

Cloud storage :

  • Cloudinary

Deployment :

  • Vercel

Payment Gateway :

  • Midtrans

How to Run the project in your computer 💻

Requirements

1. Clone the repository link

git clone https://github.com/deniPamungkas/featured-e-commerce.git

2. move to project folder

cd featured-e-commerce

3. for frontend side

cd client
npm install
npm run dev

make sure you running on localhost port:5173

4. for backend side

cd server
npm install
  • create .env inside server folder
  • and this is an example what inside .env file
    PORT = 3000
    DATABASE_URL=mongodb+srv://*********.mongodb.net/?retryWrites=true&w=majority&appName=Cluster0 (your mongoDB databse url)
    DATABASE_PASSWORD=********* (your mongoDB database password)
    JWT_SECRET = 'jwtSecret' (your own jwt secret key string))
    DBNAME = e-commerce (your mongoDB database name))
    CLOUDINARY_CLOUD_NAME = ******* (your cloudinary cloud name)
    CLOUDINARY_API_KEY = 5849********* (cloudinary api key)
    CLOUDINARY_API_SECRET = AZ_ByoY******* (cloudinary api secret key)
    
    MIDTRANS_SERVER_KEY = SB-Mid-server-****** (midtrans server key) 
    MIDTRANS_CLIENT_KEY = SB-Mid-client-****** (midtrans client key)
npm start

API Documentation

https://web.postman.co/workspace/f73fee78-4072-4c7f-8c64-6a111b9aebf9/overview