hello-world-fastapi

Hello World FastAPI (Python)

๐Ÿ“š A repository to learn and explore the basics of FastAPI, a modern, fast (high-performance), web framework for building APIs with Python 3.7+ based on standard Python type hints.


Overview

This repository serves as an educational resource to:


Features


Getting Started

Follow these steps to set up and run the project locally.

Prerequisites

Steps

  1. Clone the Repository:
    git clone https://github.com/GuilhermeStracini/hello-world-fastapi.git
    cd hello-world-fastapi
    
  2. Set Up the Environment:
    • Create a virtual environment:
      python -m venv venv
      source venv/bin/activate  # On Windows: venv\Scripts\activate
      
    • Install dependencies:
      pip install -r requirements.txt
      
  3. Run the Application:
    uvicorn main:app --reload
    
  4. Access the API:
    • Visit http://127.0.0.1:8000 to see the Hello World response.
    • Explore the interactive API documentation at:

Here are some additional resources to enhance your understanding of FastAPI and its ecosystem:


Contribution

Contributions are welcome! If youโ€™d like to enhance this repository, feel free to:


License

This project is licensed under the MIT License.