A FastAPI application.
-
Clone the repository
git clone <repository_url> cd CloudApi
-
Set up virtual environment
python -m venv .venv source .venv/bin/activate # On Windows use: .venv\Scripts\activate
-
Install dependencies
pip install -r requirements.txt
-
Run the application
uvicorn app.main:app --reload
-
Open in browser
- API: http://localhost:8000
- Docs: http://localhost:8000/docs
- Build and run with Docker
docker-compose up --build
Create a .env file in the root directory with the following variables:
# FastAPI Configuration
PROJECT_NAME=CloudApi
DEBUG=True