A project by Its-me-ak
This project utilizes a modern tech stack to provide a robust authentication flow.
Homepage: https://authflow-wt2e.onrender.com/
Follow these steps to get the project up and running on your local machine.
Before you begin, ensure you have the following installed:
-
Clone the repository:
git clone https://github.com/Its-me-ak/AuthFlow.git cd AuthFlow -
Install dependencies:
-
Backend:
cd backend npm install cd ..
-
Frontend:
cd frontend npm install cd ..
-
-
Configure environment variables:
-
Create a
.envfile in thebackenddirectory. -
Add the following variables, replacing the placeholders with your actual values:
NODE_ENV=development # or production MONGODB_URI=<your_mongodb_connection_string> JWT_SECRET=<your_jwt_secret> # Add other necessary environment variables
-
-
Run the application:
-
Backend:
cd backend npm run dev # or npm run start for production cd ..
-
Frontend:
cd frontend npm start cd ..
-
- Secure Authentication: Implements JWT (JSON Web Tokens) for secure user authentication.
- User Management: Provides functionalities for user registration, login, and profile management.
- Modern Tech Stack: Built with Express.js, React, Tailwind CSS, and other modern technologies.
- Database Integration: Uses MongoDB for storing user data and other application data.
- Responsive Design: The frontend is built with Tailwind CSS, ensuring a responsive and user-friendly experience across different devices.
- State Management: Utilizes Zustand for efficient state management in the React frontend.
Contributions are welcome! Here's how you can contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with descriptive commit messages.
- Push your changes to your fork.
- Submit a pull request to the main branch of the original repository.
Please ensure your code follows the project's coding style and includes appropriate tests.