Skip to content

UCSDTESC/fastapi-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Template

Template for building projects using FastAPI.

Prerequisites

Before launching the application, ensure you have the following prerequisites installed:

  • Python 3.7 or higher: You can download it from python.org.
  • FastAPI: Install using pip install fastapi.
  • Uvicorn: Install with additional standard dependencies using pip install "uvicorn[standard]".

Template 1 (Todolist)

To run the Todolist application:

  1. Navigate to the Todolist directory:
cd todolist
  1. Start the application:
uvicorn main:app --reload

Template 2 (Chatroom)

To run the Chatroom application:

  1. Navigate to the Chatroom directory:
cd chatroom
  1. Start the application:
uvicorn main:app --reload
  1. Open index.html in a web browser to access the chatroom interface.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published