$ git clone https://github.com/TanMinh168/E-Commerce.git
$ cd E-Commerce
Download it from here: https://docs.mongodb.com/manual/administration/install-community/
$ npm install
$ npm install nodemon
$ npm start
# open new terminal
$ cd frontend
$ npm install
$ npm start
- Run this on chrome: http://localhost:5000/api/users/createadmin
- It returns admin email and password
- Run http://localhost:3000/signin
- Enter admin email and password and click signin
- Run http://localhost:3000/products
- Click create product and enter product info