What is Fastapi Sync Async Starter Template?
FastAPI Sync/Async Starter is a modern Python web application template built with FastAPI, showcasing synchronous and asynchronous operations using SQLAlchemy, psycopg2, and asyncpg. It features comprehensive testing with pytest, Docker support with multistage builds, and production-ready rate limiting with Redis support.
How to use Fastapi Sync Async Starter Template
Clone the repository, set up a virtual environment using Poetry, install dependencies, and run the application using Docker or directly with Python.
Core features
- 01FastAPI Framework Integration
- 02Dual database access patterns with psycopg2 and asyncpg
- 03Comprehensive test suite using pytest
- 04Docker support with multistage builds
- 05Rate limiting with Redis support
Use cases
- Building modern web applications with FastAPI
- Implementing synchronous and asynchronous database operations
- Creating scalable APIs with integrated testing and rate limiting
Who makes Fastapi Sync Async Starter Template
The project is maintained by ysskrishna, who focuses on creating efficient and modern web application templates using Python and FastAPI.
Frequently asked questions
What is FastAPI Sync/Async Starter?
It is a modern Python web application template built with FastAPI, demonstrating sync vs async operations.
What databases are supported?
The template supports PostgreSQL with both synchronous and asynchronous access.
How do I run tests?
You can run tests using the command 'poetry run pytest'.
Is there Docker support?
Yes, the project includes Docker support with multistage builds.
What is the rate limiting feature?
The template includes production-ready rate limiting using Redis.
Can I contribute to the project?
Yes, contributions are welcome, and you can submit a Pull Request.
What license is the project under?
The project is licensed under the MIT License.









