Skip to content

debjeetsingha/fastapi-basics-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SIMPLE API DEMONSTRATION USING FASTAPI

Prerequisite

Setting Up the Virtual Environment

On Linux/MacOS:

  1. Create a new virtual environment and activate it:

    python3 -m venv .venv
    source .venv/bin/activate

On Windows:

  1. Create a new virtual environment and activate it:

    python -m venv .venv
    .venv\Scripts\activate

Install the Requirements

  1. Install the necessary packages:

    pip install -r requirements.txt

Run the FastAPI Application

  1. Start the FastAPI app:

    # On Linux/MacOS :
    python3 main.py 
    
    # On Windows :
    python main.py

Run the Streamlit Frontend

  1. Launch the Streamlit interface:

    streamlit run streamlit_interface.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published