crstnmac / tanstack-router-hono-drizzle-template

Tanstack Router, Drizzle and Hono production template
16 stars 0 forks source link

Role of Tanstack Start here ? #1

Closed sohamnandi77 closed 2 days ago

sohamnandi77 commented 3 days ago

Hi @crstnmac, I'm exploring TanStack Start and I see that it supports API routes, server functions, and other backend features. So it's fully capable to make a fullstack framework, it uses nitro which internally uses h3 for route matching and routing. I get it, we want to use Hono.js as my backend framework for routing and handling server-side logic.

I am not getting, How does TanStack Start fit into this configuration? Will TanStack Start act as a front-end-only framework in this case, or does it also help manage the API routes handled by Hono? can you please clarify the role of Tanstack Start here ?

Thanks, BTW great template. 🙌

crstnmac commented 2 days ago

There is no role of tanstack-start here, im using tanstack router and hono as backend api routes

sohamnandi77 commented 2 days ago

Oh, I see! I thought @tanstack/start was listed under the frontend dependencies, so I was just curious about it.