Skip to content

iamHaneef/mern-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN Authentication System

📌 Overview

A full-stack authentication system built using the MERN stack, supporting user registration and login with secure credential handling.

This project demonstrates how authentication flows are implemented using Node.js, Express, and MongoDB.


⚡ Features

  • User registration with validation
  • Login functionality with credential verification
  • Password storage and retrieval
  • Basic authentication flow implementation
  • MongoDB integration for user data

📸 Preview

learn1


🛠️ Tech Stack

Frontend:

  • React.js

Backend:

  • Node.js
  • Express.js

Database:

  • MongoDB

🔐 Authentication Flow

  • User submits registration details
  • Data is stored in MongoDB
  • User logs in using credentials
  • Server verifies user data
  • Access is granted upon successful validation

⚙️ How to Run

Clone repository

git clone <repo-url>
cd authentication-with-mern-stack

Backend setup

npm install
node app.js

Frontend setup

npm start

📂 Project Structure

authentication-with-mern-stack/
│
├── public/
├── src/
├── app.js
├── mongo.js
├── package.json
└── README.md

About

A MERN stack authentication system supporting user registration and login with MongoDB-based data storage.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors