Skip to content

A Node app that implements user authentication using JSON Web Tokens (JWT) in the MERN (MongoDB, Express, React, and Node.js) stack. The application allows users to sign up, login, and access protected page.

Notifications You must be signed in to change notification settings

onlyAvinash/jwt_node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MERN Authentication Web App with JSON Web Tokens (JWT)

This is a full-stack web application that implements user authentication using JSON Web Tokens (JWT). The application uses the MERN (MongoDB, Express, React, and Node.js) stack for its development.

Prerequisites

Before you begin, make sure you have the following software installed on your computer:

  • Node.js and npm (Node Package Manager)
  • MongoDB

Installation

  1. Clone the repository to your local machine:
  2. Navigate to the root directory of the project:
  3. Install the dependencies:
  4. Start the MongoDB service:
  5. Start the development server:

Usage

  1. Visit http://localhost:3000 in your web browser to access the web application.

  2. Register a new account by clicking the "Sign Up" button and filling out the form.

  3. Login to your account by entering your email and password.

  4. You can now access protected page.

Technologies Used

  • React: A JavaScript library for building user interfaces
  • Node.js: An open-source, cross-platform, back-end JavaScript runtime environment
  • Express: A fast and minimalistic web framework for Node.js
  • MongoDB: A cross-platform document-oriented database program
  • JSON Web Tokens (JWT): A compact, URL-safe means of representing claims to be transferred between two parties

Contributing

Contributions are welcome! If you find a bug or want to request a new feature, please open an issue. If you want to contribute code, fork the repository, make your changes, and submit a pull request.

About

A Node app that implements user authentication using JSON Web Tokens (JWT) in the MERN (MongoDB, Express, React, and Node.js) stack. The application allows users to sign up, login, and access protected page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published