philiporlando / fastapi-tutorial

This repository contains my project files and notes while I follow along with the FastAPI tutorials.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FastAPI Tutorial Project

Overview

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.

Project Structure

  • chapters/: Contains examples FastAPI applications that correspond to each chapter of the tutorial.

Getting Started

Prerequisites

  • Python 3.7+
  • Poetry for dependency management

Installation

  1. Clone the repository:

    git clone https://github.com/philiporlando/fastapi-tutorial.git
    cd fastapi-tutorial
  2. Install dependencies using Poetry:

    poetry install

Running the Examples

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.

Contributing

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.

License

This project is licensed under the MIT License.

Acknowledgments

About

This repository contains my project files and notes while I follow along with the FastAPI tutorials.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%