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
.envfile in thebackenddirectory. - 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