π Full eCommerce platform from the ground up with React, Redux, Express & MongoDB and more
Backend
npm install
"scripts": {
"start": "node backend/index",
"server": "nodemon backend/index"
},
npm run server
Add Credentials
Make sure to use Git Bash if you use windows to create a .env file at the root directory of your application to hide all your sensitive information
touch .env
Add following variables to .env file:
NODE_ENV=DEVELOPMENT
FRONTEND_URL=http://localhost:3000
DB_URI=
JWT_SECRET=
JWT_EXPIRES_TIME=
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
PAYPAL_CLIENT_ID=
SENDGRID_API=
EMAIL=
npm start
Login with existing ID and password: john@gmail.com / 123456
Register if you want to login as an admin
If you have any questions about the project, feel free to email me @ codingdevpin@gmail.com