Ecommerce App Built with the Mern Stack.
Clone it on your local machine.
git clone https://github.com/username/mernEcommerce.git
Start Backend
cd mernEcommerce/server
npm install
create a .env file and add the your mongodb uri and other variables similar to .env.example
touch .env
To run the backend
npm start
Start frontend
cd mernEcommerce/client
npm install
create a .env file and add Github client and url similar to .env.example
touch .env
To Run the frontend
npm run dev
cd server/src/utils/
node insertData.js