An e-commerce website using MERN stack (MongoDB, ExpressJS, React and Node.JS).
- 👉 Heroku : https://e-buy-website.herokuapp.com/
- 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,
- Deployment: Heroku
$ git clone https://github.com/imsidduroy/e-buy.git
$ cd e-buy
- Local MongoDB
- Install it from here
- Create .env file in root folder
- Set MONGODB_URL=mongodb://localhost/e-buy
- 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:8000/api/users/seed
- It returns admin email and password
- Run this on chrome: http://localhost:8000/api/products/seed
- It creates 6 sample products
