This application was deployed to Heroku and AWS Elastic Beanstalk using Docker Containers.
- Heroku Link: https://mern-auth-boiler-plate-jwt.herokuapp.com/
- AWS Link: http://reactjwtauth-env.eba-ptb6tqcr.us-east-2.elasticbeanstalk.com/
This is a Boiler Plate MERN application with authentication using JSON Web Tokens. This APP was design to be used as a starting point for any developer looking to integrate authentication with a MERN application.
This application uses JWT to handle Authentication and Redux to handle React state.
Full MERN stack: React, Node.js, Express, MongoDB, Javascript (ES6), Redux, JSON Web Tokens, Rest API, Semantic UI.
To install necessary dependencies, run the following command:
npm install
To start using this project:
1. Install node modules for Fron-End and Back-End with: npm install
2. Use a Mongo service like "Mongo Atlas" to create your database and credentials.
3. Create a .env file at the root location of the project to handle the database credentials and JWT secret:
# Database Info
DATABASE_INFO = "Your Mongo Credentials"
#JWT Secret
JWT_SECRET = "Your JWT Secret"
4. Run the following command to start the application: npm run dev
5. Enjoy..!
If you have any questions about the repo, open an issue or contact jaab30 directly at jaab30@yahoo.com.