Skip to content

skowtcc/api

Repository files navigation

Note

this repo will either be archived or migrated as skowt transitions to a monorepo setup. out of goodwill, the current API will remain available as a reference, either here or in a cloudflare-old branch.

skowt.cc's backend/api

api subdomain: den.skowt.cc cdn subdomain: pack.skowt.cc bridge (cors proxy): bridge.skowt.cc

  • better-auth for discord authentication
  • turso for db
  • r2 for storage
  • hono as the backend
  • ratelimiting with do
  • fully typesafe openapi spec, using scalar to make it pretty
  • hosted entirely on cf workers

this code is pretty much self documenting

types for frontend gen (u need to get the yaml file from ref):

pnpm dlx typed-openapi "skowtcc-api.yaml" -o "api.zod.ts"

licensed under GNU General Public License v3.0

authored by @dromzeh

About

📦 Old API for https://skowt.cc/ using CF Workers/R2/DO, Hono, Turso, Drizzle & Better Auth (cloudflare-old branch)

Topics

Resources

License

Stars

Watchers

Forks

Contributors