Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 955 Bytes

File metadata and controls

61 lines (40 loc) · 955 Bytes

Claude Test 1

A simple FastAPI application that displays "Claude Test 1" as an h1 headline.

Local Development

Prerequisites

  • Python 3.11 or higher
  • pip

Setup

  1. Create a virtual environment:
python -m venv venv
  1. Activate the virtual environment:
# On macOS/Linux
source venv/bin/activate

# On Windows
venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt

Running the Application

Run the application with auto-reload for development:

uvicorn main:app --reload --port 8092

The application will be available at http://localhost:8092

Docker

Build the Docker Image

docker build -t claude-test-1 .

Run the Docker Container

docker run -p 8092:8092 claude-test-1

The application will be available at http://localhost:8092

API Endpoints

  • GET / - Returns an HTML page with the h1 headline "Claude Test 1"