Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 468 Bytes

File metadata and controls

28 lines (20 loc) · 468 Bytes

Simple HTTP Server

A basic HTTP server implementation using Flask.

Setup

  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows use: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the server:
python app.py

The server will start on http://localhost:3000

Endpoints

  • GET /: Returns "Hello, World!"
  • GET /health: Returns server health status