$ git clone https://github.com/shrimanm/Full-stack-E-commerce-website-using-MERN.git
$ cd mern-amazona
- duplicate .env.example in backend folder and rename it to .env
- Local MongoDB
- Install it from here
- In .env file update MONGODB_URI=mongodb://localhost/amazona
- OR Atlas Cloud MongoDB
- Create database at https://cloud.mongodb.com
- In .env file update MONGODB_URI=mongodb+srv://your-db-connection
$ cd backend
$ npm install
$ npm start
# open new terminal
$ cd frontend
$ npm install
$ npm start