Welcome to the backend repository of the FastAPI project. This repository contains the code for the backend API built using FastAPI (Python). The backend provides user authentication, user management, and JWT-based authorization.
- User registration and login with JWT-based authentication.
- User profile management, including updating username and deleting account.
- Secure password hashing and verification.
- User data stored in a fake database (for demonstration purposes).
- Python 3.x
- Docker (for local development and deployment)
-
Clone this repository:
git clone https://github.com/Daro007/fastapi.git
-
Build the project with Docker
docker build -t fastapi .
-
Run the project with the following command
docker run -d -p 8000:8000 fastapi
The API documentation can be accessed at http://localhost:8000/docs or http://localhost:8000/redoc when the backend is running.