This repository contains my project files and notes while I follow along with the FastAPI tutorials. FastAPI is a modern, fast web framework for building APIs with Python based on standard Python type hints.
chapters/
: Contains examples FastAPI applications that correspond to each chapter of the tutorial.
- Python 3.7+
- Poetry for dependency management
-
Clone the repository:
git clone https://github.com/philiporlando/fastapi-tutorial.git cd fastapi-tutorial
-
Install dependencies using Poetry:
poetry install
To run an example FastAPI application:
poetry run uvicorn chapters.first_steps:app --reload
This command will start the Uvicorn server with auto-reload enabled.
Feel free to fork this repository and submit pull requests. You can also open issues for any bugs you find or features you think would be beneficial.
This project is licensed under the MIT License.
- FastAPI official documentation
- Creator of FastAPI, Sebastián Ramírez