- features:
- Node provides the backend environment for this application
- Express middleware is used to handle requests, routes
- Mongoose schemas to model the application data
- React for displaying UI components
- Redux to manage application's state
- Redux Thunk middleware to handle asynchronous redux actions
This application is deployed on Heroku. Please check it out ๐ here.
Some basic Git commands are:
$ git clone https://github.com/mohamedsamara/mern-ecommerce.git
$ cd project
$ npm install
> Create .env file that include:
* PORT & MONGO_URI
* SECRET_OR_KEY => secret key for JWT
* MAILCHIMP_KEY & MAILCHIMP_LIST_KEY => Mailchimp configuration
* MAILGUN_KEY & MAILGUN_DOMAIN & MAILGUN_EMAIL_SENDER => Mailgun configuration
> Create a Procfile in the root directory of your application with the following command **web: npm run start:production**
$ npm run production
$ npm start
$ npm run start:production