Backend service built with Bun and Elysia, focused on performance, type safety, and a clean modular architecture. This project serves as the backend for the FoundPet application, responsible for managing pets, health checks, and future domain modules.
-
Runtime: Bun
-
Framework: Elysia
-
Database: SQLite
-
ORM: Drizzle ORM
-
Language: TypeScript
-
Validation: TypeBox (Elysia standard)
Bun installed (v1.0+)
Clone the repository and install dependencies:
bun installStart the development server:
bun run devThe API will be available at:
Example endpoint:
GET /health
Response:
{ "status": "ok" }
Modular architecture by domain
DTO-driven validation
Clear separation of concerns
HTTP semantics respected (status codes, PATCH behavior, etc.)
Minimal abstractions, maximum clarity