https://github.com/mesa-dot-dev/mesa-sandbox
Mesa Sandbox
https://github.com/mesa-dot-dev/mesa-sandbox
Last synced: 5 months ago
JSON representation
Mesa Sandbox
- Host: GitHub
- URL: https://github.com/mesa-dot-dev/mesa-sandbox
- Owner: mesa-dot-dev
- License: apache-2.0
- Created: 2026-01-09T20:10:23.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-01-15T00:43:19.000Z (6 months ago)
- Last Synced: 2026-01-15T00:45:55.798Z (6 months ago)
- Language: Python
- Size: 15.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mesa Sandbox API
A basic FastAPI project with one controller.
## Setup
```bash
# 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
```bash
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