Skip to content

Latest commit

 

History

History
58 lines (37 loc) · 1.18 KB

File metadata and controls

58 lines (37 loc) · 1.18 KB

De-Lit-API

Installation

  1. Clone the repository:

    git clone https://github.com/Student-Recreation-Center-CSE-RKV/De-Lit-API.git
    cd De-Lit-API
  2. Create a virtual environment (optional but recommended):

    python -m venv venv

    Activate the virtual environment:

    • On Windows:

      venv\Scripts\activate
    • On macOS/Linux:

      source venv/bin/activate
  3. Install dependencies:

    pip install -r requirements.txt

Running the Server

  1. Run the FastAPI server:

    fastapi dev main.py
    python -m uvicorn main:app --reload
    
  2. Access the API:

    The server will start at http://127.0.0.1:8000. You can view the automatically generated interactive API docs at: http://127.0.0.1:8000/docs

Documentation

You can check the clear Documentation for the APIs at Documentation