-
Clone the repository:
git clone https://github.com/Azadron228/fastapi-crud.git
-
Copy .env.exmample to .env
-
Build and run the Docker container:
docker-compose up --build
-
Migrate database:
docker-compose run app alembic upgrade head
- Access the FastAPI application at
http://localhost:8000/docs
to view the Swagger UI. - In swagger ui use email instead of username