Skip to content

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.

Notifications You must be signed in to change notification settings

igorpardinho/foundPet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

23 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

FoundPet API ๐Ÿพ

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.

๐Ÿš€ Tech Stack

  • Runtime: Bun

  • Framework: Elysia

  • Database: SQLite

  • ORM: Drizzle ORM

  • Language: TypeScript

  • Validation: TypeBox (Elysia standard)

โš™๏ธ Getting Started

Pre-requisites

Bun installed (v1.0+)

Installation

Clone the repository and install dependencies:

bun install

๐Ÿงช Running the Application

Start the development server:

bun run dev

The API will be available at:

http://localhost:3000

๐Ÿ“Œ Health Check

Example endpoint:

GET /health

Response:

{ "status": "ok" }

๐Ÿง  Design Principles

Modular architecture by domain

DTO-driven validation

Clear separation of concerns

HTTP semantics respected (status codes, PATCH behavior, etc.)

Minimal abstractions, maximum clarity

Autores

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published