Welcome to my React and Node fully-functional e-commerce website.
$ git clone git@github.com:kushwaha-suraj/node-react-ecommerce.git
$ cd node-react-ecommerce
Download it from here: https://docs.mongodb.com/manual/administration/install-community/
$ npm install
$ npm start
For New version of node:
first run set NODE_OPTIONS=--openssl-legacy-provider to solve digital envelope routines
# 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