An Ecommerce MERN stack and Typescript website built from scratch
- Typescript
- React
- React Redux
- React Router
- MongoDB
- Express
- Bootstrap
- Multer
- Bcrypt
- Mongoose
- Axios
- React Helmet
- 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
Klarnamethod, etc) - PayPal / credit card integration
- Database seeder (products & users)
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 |
# 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
Email: [email protected] (Admin)
Password: password
[email protected] (Customer)
Password: password
[email protected] (Customer)
Password: password