Skip to content

mesa-dot-dev/mesa-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mesa Sandbox API

A basic FastAPI project with one controller.

Setup

# Create virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

Running the Server

uvicorn main:app --reload

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

API Documentation

  • Swagger UI: http://localhost:8000/docs
  • ReDoc: http://localhost:8000/redoc

Endpoints

Root

  • GET / - Welcome message
  • GET /health - Health check

Items Controller

  • GET /items/ - List all items
  • GET /items/{item_id} - Get a specific item
  • POST /items/ - Create a new item
  • PUT /items/{item_id} - Update an item
  • DELETE /items/{item_id} - Delete an item

About

Mesa Sandbox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages