python-fastapi
Use poetry to install dependencies
poetry installUse the following commands to start server
# Development mode with auto-reload
uvicorn main:app --reload
# Production mode with multiple workers on specified port
uvicorn main:app --workers 5 --port 3000Test the API response
Check out the API docs (in Swagger UI)
Check out the API docs (in ReDoc UI)
Take it from here
- Start your development from modifying
./main.pyand./tests/test_main.py.
On this page
Languages
Python100.0%
Contributors
Latest Release
0.1.0August 5, 2021MIT License
Created August 5, 2021
Updated August 6, 2021