Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 982 Bytes

File metadata and controls

48 lines (31 loc) · 982 Bytes

Beacon API

GraphQL API for Beacon

License: Apache 2.0

Overview

Beacon API is the backend service for Beacon, providing a GraphQL interface built with Elysia and Drizzle ORM on PostgreSQL.

Features

  • GraphQL - Schema-first API with GraphQL Yoga
  • Authentication - JWT-based auth with Better Auth
  • Database - PostgreSQL with Drizzle ORM and migrations
  • Rate Limiting - Built-in request throttling

Prerequisites

  • Bun 1.3+
  • PostgreSQL

Development

# From metarepo root
tilt up

# Or directly
bun i
bun dev

Database

bun db:generate   # Generate migrations
bun db:migrate    # Apply migrations
bun db:studio     # Open Drizzle Studio

License

The code in this repository is licensed under Apache 2.0, © Omni LLC. See LICENSE.md for more information.