https://github.com/wednesday-solutions/python-fastapi
This FastAPI template supports Python 3.11+ and SQLAlchemy 2.0+, offering asynchronous operations and database migrations via Alembic. It features JWT authentication, Redis caching, and Docker deployment, ensuring scalable and secure applications. Includes pre-configured middleware, CRUD operations, and integrated monitoring with SigNoz and Percona
https://github.com/wednesday-solutions/python-fastapi
alembic aws-copilot celery docker fastapi flake8 locust mysql percona pytest python-3 redis signoz sonarqube sqlalchemy uvicorn venv
Last synced: 6 months ago
JSON representation
This FastAPI template supports Python 3.11+ and SQLAlchemy 2.0+, offering asynchronous operations and database migrations via Alembic. It features JWT authentication, Redis caching, and Docker deployment, ensuring scalable and secure applications. Includes pre-configured middleware, CRUD operations, and integrated monitoring with SigNoz and Percona
- Host: GitHub
- URL: https://github.com/wednesday-solutions/python-fastapi
- Owner: wednesday-solutions
- Created: 2023-09-11T06:20:28.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-03T12:02:28.000Z (over 1 year ago)
- Last Synced: 2025-03-27T11:38:34.318Z (7 months ago)
- Topics: alembic, aws-copilot, celery, docker, fastapi, flake8, locust, mysql, percona, pytest, python-3, redis, signoz, sonarqube, sqlalchemy, uvicorn, venv
- Language: Python
- Homepage:
- Size: 6.32 MB
- Stars: 10
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.Docker.md
Awesome Lists containing this project
README
### Building and running your application
When you're ready, start your application by running:
`docker compose up --build`.Your application will be available at http://localhost:8000.
### Deploying your application to the cloud
First, build your image, e.g.: `docker build -t myapp .`.
If your cloud uses a different CPU architecture than your development
machine (e.g., you are on a Mac M1 and your cloud provider is amd64),
you'll want to build the image for that platform, e.g.:
`docker build --platform=linux/amd64 -t myapp .`.Then, push it to your registry, e.g. `docker push myregistry.com/myapp`.
Consult Docker's [getting started](https://docs.docker.com/go/get-started-sharing/)
docs for more detail on building and pushing.### References
* [Docker's Python guide](https://docs.docker.com/language/python/)