maniik85277 / MERN-AUTH-APP

A MERN Authentication Application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ›‘οΈ MERN Auth App

A Full-stack Authentication App built with the MERN stack (MongoDB, Express, React, Node.js), incorporating JWT authentication, React Router DOM, Express middleware, Zustand store, Axios for HTTP requests, and various features including protected routes, password verification, user validation, OTP verification, email verification, and more.

πŸš€ Features

  • JWT Authentication: Secure authentication using JSON Web Tokens.
  • Protected Routes: Restrict access to certain routes based on authentication.
  • Password Verification: Secure password storage and verification.
  • User Validation: Validate user input on the client and server sides.
  • OTP Verification: Two-factor authentication for enhanced security.
  • Email Verification: Verify user email addresses during registration.
  • Express Middleware: Middleware for handling requests and authentication.
  • Zustand Store: State management with Zustand for React applications.
  • Axios for HTTP Requests: Simplified HTTP client for making requests from the frontend.

πŸ› οΈ Tech Stack

  • Frontend: React.js, React Router DOM, Axios
  • Backend: Node.js, Express.js
  • Database: MongoDB
  • State Management: Zustand
  • Authentication: JWT

πŸ“¦ Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/mern-auth-app.git
  2. Install dependencies:

    cd mern-auth-app
    npm install
  3. Set up environment variables:

    cp .env.example .env

    Fill in the required environment variables.

  4. Run the development server:

    npm start
  5. Open http://localhost:3000 to view it in the browser.

🀝 Contributing

Contributions are welcome! Please follow the Contribution Guidelines.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

This README now includes Axios in the Tech Stack section and mentions its usage in making HTTP requests from the frontend.

About

A MERN Authentication Application


Languages

Language:JavaScript 91.1%Language:CSS 6.2%Language:HTML 2.7%