Ecommerce store on the MERN stack
$ git clone https://github.com/m3rcury44/mern-ecommerce.git
-
For backend:
-
$ cd backend
- Create .env file and set:
- MONGODB_URI = YOUR_MONGODB_URI
- JWT_SECRET_KEY = YOUR_JWT_SECRET_KEY
-
-
For frontend:
-
$ cd frontend
- Create .env file and set:
- REACT_APP_API_URL = YOUR_API_URL
-
$ cd backend
$ yarn install
$ yarn dev
$ cd frontend
$ yarn install
$ yarn start