Skip to content

E-Commerce webapp using MERN-Stack, having admin dashboard, payment feature using stripe and jwt-authentication.

Notifications You must be signed in to change notification settings

shubhamk-27/E-commerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Admin Login

{
    "email": "admin@gmail.com",
    "password": "123456"
}

User Login

{
    "email": "user@gmail.com",
    "password": "123456"
}

(Stripe) Card Payment Details

4000 0027 6000 3184
Any future Date
Any three digit

Usage

  • Create a .env file inside backend/config.

  • Copy the following lines and specify appropriate values.

PORT = 4000
NODE_ENV = DEVELOPMENT
DB_URI = mongodb+srv://<username>:<password>@mern.apqfp.mongodb.net/<collection-name>?retryWrites=true&
JWT_SECRET =
JWT_EXPIRES_TIME = 7d
COOKIE_EXPIRES_TIME = 7

CLOUDINARY_CLOUD_NAME =
CLOUDINARY_API_KEY =
CLOUDINARY_API_SECRET =

STRIPE_SECRET_KEY =
STRIPE_API_KEY =

SMTP_HOST = smtp.mailtrap.io
SMTP_PORT = 2525
SMTP_EMAIL =
SMTP_PASSWORD =
SMTP_FROM_EMAIL = noreply@shopit.com
SMTP_FROM_NAME = ShopIT

Install dependencies

npm install
cd frontend
npm install

Run App

For running Server

npm run dev

For running Client

npm start

About

E-Commerce webapp using MERN-Stack, having admin dashboard, payment feature using stripe and jwt-authentication.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published