A robust and secure authentication system built using Express.js and React.js. This project includes essential authentication features to ensure a seamless user experience.
- 🔑 Sign Up Flow: Register new users with ease.
- 📩 OTP Verification Flow: Secure user verification via OTP.
- 🔓 Login: Authenticate users with their credentials.
- ❓ Forgot Password: Recover access to accounts.
- 🔄 Reset Password: Update passwords securely.
🚀 Backend: - A minimal and flexible Node.js web application framework.
⚛️ Frontend: - A JavaScript library for building user interfaces.
⚡ Builder: - A fast and modern frontend build tool.
🔐 Authentication: - Secure token-based authentication.
✉️ Email Service: - A tool for safe email testing.
/backend
├── routes/
├── controllers/
├── models/
├── utils/
└── app.js
/frontend
├── src/
├── components/
├── pages/
├── hooks/
└── App.jsx
- Node.js installed on your system.
- A MailTrap.io account for email testing.
-
Clone the repository:
git clone https://github.com/yourusername/AuthSystem.git cd AuthSystem
-
Install dependencies for both backend and frontend:
cd backend npm install cd ../frontend npm install
-
Configure environment variables:
- Create a
.env
file in thebackend
directory. - Add your MailTrap.io credentials and JWT secret.
- Create a
-
Start the development servers:
cd backend npm start cd ../frontend npm run dev
For any inquiries or feedback, feel free to reach out at your-email@example.com.
Made with ❤️ by Yves DC