{"repo":"arafatDU/mern-advanced-auth","free":true,"listed":false,"github":"https://github.com/arafatDU/mern-advanced-auth","clone":"git clone https://github.com/arafatDU/mern-advanced-auth.git","description":"Advanced Authentication implemention with MERN Stack including email verification, forgot and reset password and welcome email message.","language":"JavaScript","stars":14,"topics":["authentication","authentication-backend","email-verification","mailtrap","mern-stack"],"license":null,"category":"auth-billing-email","readme_excerpt":"Advanced Authentication with MERN Stack This project is an advanced authentication system built using the MERN (MongoDB, Express, React, Node.js) stack. It includes features like email verification, secure password hashing, and token-based authentication. Project Structure The project is organized as follows: - Root : Contains the main package.json file and links to both the backend and frontend folders. - backend : Contains the server-side code, including API endpoints, database models, and authentication logic. - frontend : Contains the client-side code, built with React, for user interaction and UI. Features - User registration and login - Email verification using Mailtrap - Secure password hashing with bcrypt - Token-based authentication with JSON Web Tokens (JWT) - Protected routes for authenticated users - Responsive and user-friendly UI Technologies Used - Frontend : React, Axios, Bootstrap/Material-UI (optional) - Backend : Node.js, Express.js, MongoDB, Mongoose - Authentication : JWT, bcrypt - Email Service : Mailtrap Prerequisites - Node.js and npm installed - MongoDB installed and running - Mailtrap account for email testing Installation 1. Clone the repository: 2. Install dependencies for the root project: 3. Install dependencies for both backend and frontend: 4. Configure environment variables: - Create a .env file in the backend folder with the following: 5. Start the development server: This will start the backend server located at backend/index.js . Usage 1. R","default_branch":null,"files":null,"tree":[],"storefront":"/r/arafatDU","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/arafatDU/mern-advanced-auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}