Automated Action 2e449f5437 Add Hello World FastAPI application with health endpoint
generated with BackendIM... (backend.im)
2025-05-13 05:23:42 +00:00

748 B

Hello World FastAPI Application

This is a simple Hello World API built with FastAPI and SQLite.

Features

  • Simple Hello World endpoint at /
  • Health check endpoint at /health
  • API documentation at /docs and /redoc
  • SQLite database setup

Requirements

  • Python 3.8+
  • Pip for package installation

Installation

  1. Clone the repository
  2. Install the dependencies:
pip install -r requirements.txt

Running the application

Start the application using Uvicorn:

python main.py

Or directly with Uvicorn:

uvicorn main:app --reload

The API will be available at http://localhost:8000

API Documentation