https://github.com/sajjadhz/fastapi-mysql-docker
https://github.com/sajjadhz/fastapi-mysql-docker
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sajjadhz/fastapi-mysql-docker
- Owner: Sajjadhz
- License: mit
- Created: 2023-10-08T10:09:44.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-08T10:26:18.000Z (over 1 year ago)
- Last Synced: 2025-01-21T11:45:15.670Z (5 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FastAPI-MYSQL-DOCKER
### About this FastAPI app
This app is using FastAPI python framework to connect to the MySQL database
to do CRUD actions on USER and ITEM tables on database.#### How to run the app
mv .env-example .env
edit .env and provide the values for the variables as you want.
docker-compose up --build -d
go to the browser and enter http://localhost:8080/docs
#### How to kill the app
docker-compose down