Live Website (https://e-shop1.netlify.app/)
You will need node and npm installed globally on your machine.
Before proceeding, create a .env file and configure your environment variables within .env.
Create a database named e-shop and provide your database username and password in the .env file
DB_HOST=localhost
DB_USER=""
DB_PASS=""
DB_NAME="e-shop"
go to the server folder
$ cd server
$ npm install
$ node app.js
localhost:5000
Get Products - localhost:5000/api/products
Save Order - localhost:5000/api/order
You will need node and npm installed globally on your machine.
go to the client folder.
$ cd client
$ npm install
$ npm start
localhost:3000