Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 591 Bytes

File metadata and controls

25 lines (18 loc) · 591 Bytes

My FastAPI Project

This is a simple FastAPI application to demonstrate setting up a FastAPI project in Python.

Setup Instructions

  1. Create a virtual environment:

    • python -m venv venv (Windows)
    • python3 -m venv venv (macOS/Linux)
  2. Activate the virtual environment:

    • venv\Scripts\activate (Windows)
    • source venv/bin/activate (macOS/Linux)
  3. Install dependencies:

    pip install -r requirements.txt
  4. Run the application:

    uvicorn main:app --reload
  5. Open your browser and go to http://127.0.0.1:8000.