Skip to content

Latest commit

 

History

History
90 lines (67 loc) · 1.61 KB

README.md

File metadata and controls

90 lines (67 loc) · 1.61 KB

LiteShop

An Ecommerce MERN stack and Typescript website built from scratch

alt text

Tech Stack

  • Typescript
  • React
  • React Redux
  • React Router
  • MongoDB
  • Express
  • Bootstrap
  • Multer
  • Bcrypt
  • Mongoose
  • Axios
  • React Helmet

Features

  • Full featured shopping cart
  • Product reviews and ratings
  • Top products carousel
  • Product pagination
  • Product search feature
  • User profile with orders
  • Admin product management
  • Admin user management
  • Admin Order details page
  • Mark orders as delivered option
  • Checkout process (shipping, payment and Klarna method, etc)
  • PayPal / credit card integration
  • Database seeder (products & users)

Env Variables

Create a .env file in the backend folder and add the followings
To check and/or change the default values visit config.ts file

Name Default
NODE_ENV development
SERVER_PORT 1337
SERVER_HOSTNAME localhost
MONGO_URI
PAYPAL_CLIENT_ID
JWT_SECRET secretCode

Getting Started

# Clone repository
git clone [email protected]:IdreesSamadi/LiteShop.git

# Change into the directory
cd liteShop

# Setup backend
cd server && npm install
npm run dev

# Setup frontend
cd client && npm install
npm start

Sample User Logins

Email: [email protected] (Admin)
Password: password


[email protected] (Customer)
Password: password

[email protected] (Customer)
Password: password