This is a fully-functional e-commerce website exactly like amazon. I built an e-commerce website using MERN stack (MongoDB, ExpressJS, React and Node.JS).
- HTML5 and CSS3: Semantic Elements, CSS Grid, Flexbox
- React: Components, Props, Events, Hooks, Router, Axios
- Redux: Store, Reducers, Actions
- Node & Express: Web API, Body Parser, File Upload, JWT
- MongoDB: Mongoose, Aggregation
- Development: ESLint, Babel, Git, Github
- Payment with Paypal and Stripe
$ git clone git@github.com:imizallah/MERN-Stack-E-commerce-System.git
- Local MongoDB
- Install it from here
- Create .env file in root folder
- Set MONGODB_URL=mongodb://localhost/imizallahamazon ***
- Atlas Cloud MongoDB
- Create database at https://cloud.mongodb.com
- Create .env file in root folder
- Set MONGODB_URL=mongodb+srv://your-db-connection ***
$ npm install
$ npm start
# open new terminal
$ cd frontend
$ npm install
$ npm start
-
Run this on chrome: http://localhost:5000/api/users/seed
-
It returns admin email and password
-
Run this on chrome: http://localhost:5000/api/products/seed
-
It creates 6 sample products
- Run http://localhost:3000/signin
- Enter admin email and password and click signin
- User can view all products
- User can view single products
- User can Add products to cart
- User can Checkout products
- User make create Orders and make payment with
Paypal
orStripe
payment gateways - User can also track Orders until item is delivered
- Run http://localhost:3000/signin
- Enter admin email and password and click signin
- View all Orders
- View all User
- Admin can Create Products
- Mark any order as Delivered
- Admin can Edit any Prooduct
- Admin can Delete Products
- Contact Me: Sunday, Ishaya
git init git add . git commit -m "first commit" git branch -M main git remote add origin https://github.com/imizallah/MERN-Stack-E-commerce-System.git git push -u origin main