Pennybase is a minimal Backend-as-a-Service implemented in under 1000 lines of Go code.
It stores data in append-only, human-readable CSV files with versioned records and maintains an in-memory index for fast access.
Provides a REST API for CRUD operations, as well as server-sent events streaming for real-time updates.
Supports authentication via session cookies or Basic Auth, with role-based and ownership-based access control.
Defines schemas in CSV to validate text, number, and list fields using regex and min/max constraints.
Serves static assets and renders HTML templates with access to user info, store, request, and authorization checks.
Allows custom logic through a hook function triggered on create, update, and delete actions.
Distributed under the MIT license and encourages contributions focused on clarity and small, correct code.
Get notified when new stories are published for "🇺🇸 Hacker News English"