Skip to content

A versatile FastAPI application template that serves as a starting point for building dynamic and high-performing API services. This template includes common setups and examples to help developers quickly create and deploy their FastAPI projects.

Notifications You must be signed in to change notification settings

taieeuu/fastapi-app

Repository files navigation

Continually updated

Usage Instructions

  1. Rename .env.example to .env by removing the .example suffix.
  2. Fill in the relevant parameters in the .env file.

Parameter Description

  • APP_ENV: Represents the environment. Options include:
    • dev: Development environment
    • prod: Production environment
    • uat: Testing environment

USAGE

First: create app_network

docker network create --driver bridge --subnet=<subnet>/24  --gateway=<gateway_ip> app-network

Second: build and up docker-compose

docker-compose -f docker-compose.base.yml -f docker-compose.v1.yml build
docker-compose -f docker-compose.base.yml -f docker-compose.v1.yml up

About

A versatile FastAPI application template that serves as a starting point for building dynamic and high-performing API services. This template includes common setups and examples to help developers quickly create and deploy their FastAPI projects.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published