Skip to content

eric-li18/fastapi-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡ FastAPI Template

A barebones FastAPI Template repository for creating a backend REST API server.

Several features are included in the template:

Run the Application

To run the application in a development environment:

  1. Start the database with
docker-compose up
  1. Navigate to the backend directory and install the dependencies and start a python virtual enviornment by running:
poetry shell
poetry install
  1. Start the API server using
uvicorn main:app --reload
  1. Navigate to http://localhost:8000/docs to look through the endpoint documentation!