Welcome to my React and Node tutorial to build a fully-functional e-commerce website in 5 hours. Open your code editor and follow me for the next hours to build an e-commerce website using React and Node.JS.
$ git clone git@github.com:basir/node-react-ecommerce.git
$ cd node-react-ecommerce
Download it from here: https://docs.mongodb.com/manual/administration/install-community/
$ npm install
$ 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