Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.81 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.81 KB

🐍 FastAPI Boilerplate

CI Python Version FastAPI Version License Maintainability

This is a boilerplate project to quickly start a web application using the FastAPI framework.

Features

  • High-performance HTTP server based on FastAPI.
  • Dependency management using Poetry.
  • Docker setup for the development environment.
  • Sample FastAPI endpoint to get started.

Requirements

  • Python 3.9 or higher.

Getting Started

  1. Clone this repository:

     git clone https://github.com/Trusted97/fast-api-boilerplate.git
     cd fast-api-boilerplate
    
  2. Run the development server using Docker:

     docker-compose up --build -d
    
  3. Access the FastAPI application: Open your web browser and go to http://localhost:8000

  4. Access the Swagger documentation at http://localhost:8000/docs to interact with the API.

Project Structure

  • router.py: Sample FastAPI application and endpoint.
  • pyproject.toml: Project configuration and dependencies managed by Poetry.
  • docker/dev/Dockerfile: Docker configuration for the development environment.

Contributing

Contributions are welcome! Feel free to submit issues and pull requests.

License

This project is licensed under the MIT License.