Skip to content

ranjanport-modules/fastapi-async-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudApi

A FastAPI application.

Development Setup

  1. Clone the repository

    git clone <repository_url>
    cd CloudApi
  2. Set up virtual environment

    python -m venv .venv
    source .venv/bin/activate  # On Windows use: .venv\Scripts\activate
  3. Install dependencies

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

    uvicorn app.main:app --reload
  5. Open in browser

Docker Setup

  1. Build and run with Docker
    docker-compose up --build

Environment Variables

Create a .env file in the root directory with the following variables:

# FastAPI Configuration
PROJECT_NAME=CloudApi
DEBUG=True

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published