This application is developed to demonstrate the possibilities and capabilities of FastAPI
- Swagger UI - An Interactive REST API IDE is available by default.
- ReDoc - OpenAPI Standard Docs for the apis - This integration is also available by dfault.
- The Documentation of fastAPI is very good
- Pydantic - Data validation and settings management using python type annotations
Many Super heros are available to help. There are plenty of assignments the heros can help with. We need an application to manage the heros time so that we can leverage their capabilities to wrap up most of the assignments.
- Python 3.6+
- Table Plus
- This is useful while developing and playing with Database
src/ Source Code
----models/ Models/Schemas for SQL Alchemy
----schemas/ Models/Schemas powered by Pedantic. These used for validation.
----routers/ Routes for entities/tables
----repositories/ DataBase operations
----app.py App entry
----database.py Database Connection
Clone this repository
git clone https://github.com/sravanrekandar/hero-service-fastapi-app.git && cd hero-service-fastapi-app
Set permissions to execute start.sh. This is required only one time.
chmod 777 start.sh
./start.sh
- App will be available at http://127.0.0.1:8000
- Swagger UI - An Interactive REST API IDE http://127.0.0.1:8000/docs
- OpenAPI Docs http://127.0.0.1:8000/redoc