MHN

Show HN: Typebase – A single-folder back end you write in TypeScript

119 points by andrewww-dev·96 days ago·typebase.io·Show in HN

Hey HN!

I built Typebase, a library that gives you Convex's DX with Supabase's openness.

After trying Supabase I liked how fast it is to spin up a DB and auth, but really didn't like using RLS and SQL for authorization. With Convex I loved how your server "lives" in your code, but disliked the DB model and the realtime-first defaults.

With Typebase you just write TS files inside a typebase/ folder in your existing repo. You can define your DB tables inside a schema.ts file and export server functions that your frontend calls like local functions, fully typed. Auth is built in.

Then one CLI command uploads your server to any of the available providers (Vercel, Cloudflare Workers or Deno Deploy for the servera and Neon for the DB), or generates the code so you can deploy it wherever you want.

Built on top of oRPC, Drizzle, and better-auth.

Happy to answer any questions or feedback!

Add a comment on Hacker News →
2 of 49 comments
  1. very cool. though the deploy wasnt clear if i can just run migration on some pg url. and it wasnt clear if i can bind some middleware into my existing app server (like express)

  2. The pronunciation of "Vercel" near the end of the "Typebase in 100s" video was VER-cel, with the emphasis on the first syllable, instead of ver-CEL with the emphasis on the second syllable.

    Was the video generated by AI?