Shoppy is a MERN stack eCommerce App.
Built with:
- Node.js
- React
- Redux
- Express
- MongoDB
- Axios
Server-side uses JSON Web Token (JWT) to access REST API.
$ npm install
Create an env
file - Set filename.env.prod
file for production and .env.dev
for development and save it in the root of your project folder
and add the following configuration details. You can either use the same configuration details for both development and production but it's best to make separate projects. It can be found on your firebase project settings.
// SAMPLE CONFIG .env.dev, you should put the actual config details found on your project settings
REACT_APP_STRIPE = <YOUR_STRIPE_PUBLIC_KEY>
Follow the instructions from the server-side repository.
$ npm start
$ npm run build