- Tailwind CSS – For mobile-responsive and modern styling.
- Zod – Schema-based form validation for cleaner and safer input handling.
- React Router DOM – Client-side routing for navigating between pages.
- React Toastify – Display real-time notifications (e.g., login success, registration errors).
- Axios – For making HTTP requests to the backend API.
- JSON Web Token (
jsonwebtoken) – Token-based authentication to verify user sessions. - Nodemon – Auto-restarts the server during development for efficient coding.
- Mongoose – interacting with MongoDB.
- Bcrypt.js – Securely hashes passwords before storing them in the database.
- CORS – Allows cross-origin requests.
⚠️ Avoid using*in production; specify your frontend URL for better security. - Dotenv – Loads environment variables from a
.envfile to keep sensitive data private.
- MongoDB – A NoSQL database to store user data.
Create a .env file in the backend root folder with the following:
MONGO_URI="your_mongo_database_connection_string"
JWT_SECRET="your_secret_key_for_jwt"