Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 910 Bytes

File metadata and controls

36 lines (28 loc) · 910 Bytes

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.