Skip to content

Initialize backend foundation for auth and data services#24

Open
ramonverse wants to merge 1 commit intomainfrom
cord/retired-marlin-422e
Open

Initialize backend foundation for auth and data services#24
ramonverse wants to merge 1 commit intomainfrom
cord/retired-marlin-422e

Conversation

@ramonverse
Copy link
Copy Markdown
Contributor

Establish a backend worker that can handle authentication, database access, and core app APIs. This lays the groundwork for server-side features like user sessions, course data, and conversation storage behind a single Hono app.

  • Added a Hono-based backend entrypoint with /api/auth/* routing, /health, shared request context, and centralized error handling.
  • Wired Better Auth to Drizzle/Postgres with email/password login, Google sign-in, Turnstile protection, custom password reset email content, and signup hooks.
  • Created database connection helpers that support either HYPERDRIVE or DATABASE_URL, plus a Drizzle config and backend package scripts for dev/build/deploy/types.
  • Added shared backend utilities for HTTP errors, safe JSON parsing, R2 audio upload/download, GitHub star lookup, and unit content parsing.
  • Introduced backend service modules for chats, courses, feedback, lessons, preferences, profile, progress, and prompts to support server-managed app data.

@cord-app-staging
Copy link
Copy Markdown
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant