Live data from Hacker News

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

typebase.io

31–33 of 33 posts

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

#31

This looks great. Question specifically on the Cloudflare Workers target: when you deploy there, does Typebase use D1 for the DB, or does the Postgres/Neon backend stay the same regardless of which server target you pick (Vercel/Workers/Deno) - i.e. is the DB layer decoupled from the server runtime, or does choosing Workers also mean choosing D1? I ask because I've shipped a small Workers+D1 service and the main fric…

I see no code there to automatically pick D1 for the DB when you deploy to Cloudflare. On Cloudflare, it should use the `@neondatabase/serverless` driver configured here https://github.com/typebase-io/monorepo/blob/fa3af0b71126caa...

[flagged]

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

#32

It’s like next.js but for backend. Personally not for me. These are very productive once you learn the shape they expect. But the wheel needs to be reinvented on how to do everything. I ran have straight forward verbose code with no hidden control flow

I’ve been saying for years we need CCR (Client Centric Rendering). What we do is have the server just serve the page and let the client handle most of the rendering. It’s novel and innovative

Isn't this html + javascript?

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

#33
post #15

Earlier quoted context omitted.

that’s likely the promise but it’s so confusing and high cognitive overhead to maintain that backend frontend relationship. ‘use client’ - i think the special sauce for why people use nextjs is all frontend based. the frontend that comes from the backend. nextjs dx is a special kind of hell. disclaimer: im just a simple rails guy.

Next.js is a poor choice for a client-side application. It is first and foremost a server-side framework, and trying to force it to be client-side is to work against it. There are so many better options than Next.js for dedicated client-side front-ends.

Nextjs is also a bundler for web applications. And it deploys the front end assets.

It's yet another backend framework, added that it only runs on vercel infrastructure.

There are better front end and back end servers, those that simply rely on nodejs to serve. Next.js does that, without vercel.

Post reply on HN