Template for building projects using FastAPI.
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]".
To run the Todolist application:
- Navigate to the Todolist directory:
cd todolist- Start the application:
uvicorn main:app --reloadTo run the Chatroom application:
- Navigate to the Chatroom directory:
cd chatroom- Start the application:
uvicorn main:app --reload- Open
index.htmlin a web browser to access the chatroom interface.