❯Basic FastApi template
Before getting started with fastapi-template-basic, ensure your runtime environment meets the following requirements:
- Programming Language: Python
- Package Manager: Poetry
- Container Runtime: Docker
Install fastapi-template using one of the following methods:
Build from source:
- Clone the fastapi-template repository:
❯ git clone https://github.com/mart337i/fastapi-template
- Navigate to the project directory:
❯ cd fastapi-template-basic
- Install the project dependencies:
Using poetry
❯ poetry install
Using docker
❯ docker compose -f docker-stack.yaml up --build
Run fastapi-template using the following command:
Using Fastapi
❯ fastapi dev app/main.py
Using docker
❯ docker compose -f docker-stack.yaml up --build
This project is protected under the MIT License.
Thank you to the builders of the following:
- Fastapi
- python-dotenv
You made this hobby project possible!