Skip to content

Boiler Plate App using MERN stack and JSON Web Tokens for Authentication. Web Tools: React, JavaScript, Redux, NodeJs, Express, MongoDB, Json Web Tokens.

Notifications You must be signed in to change notification settings

jaab30/react-jwt-boiler-plate

Repository files navigation

Boiler Plate - MERN Application with Authentication using JSON Web Tokens (JWT)

Online Example & Deployment:

This application was deployed to Heroku and AWS Elastic Beanstalk using Docker Containers.

Description

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.

Web Tools:

Full MERN stack: React, Node.js, Express, MongoDB, Javascript (ES6), Redux, JSON Web Tokens, Rest API, Semantic UI.

Table of Contents

Installation

To install necessary dependencies, run the following command:

npm install

Usage

    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..!

Questions

avatar

If you have any questions about the repo, open an issue or contact jaab30 directly at jaab30@yahoo.com.

GitHub license

images

app example

app example

app example

app example

app example

About

Boiler Plate App using MERN stack and JSON Web Tokens for Authentication. Web Tools: React, JavaScript, Redux, NodeJs, Express, MongoDB, Json Web Tokens.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published