Getting Started
Prerequisites
- Go 1.21+
- GCC (required for SQLite CGO bindings)
- Ubuntu/Debian:
sudo apt install gcc
- macOS: comes with Xcode Command Line Tools (
xcode-select --install)
Clone and Run
Build
Startup Output
The HTTP server and the interactive shell run concurrently. The API is live while you type shell commands.
The SQLite database (app.db) is created automatically on first run in the project root. Foreign key enforcement is enabled.
Verify It's Running
A 200 OK with a JSON body confirms the server is up and the database is reachable. A 503 with "status": "degraded" means the database is unreachable.