Next.js Discord

Discord Forum

Hono with next.js

Unanswered
Cane Corso posted this in #help-forum
Open in Discord
Cane CorsoOP
Hey, i want to create a new next.js app and I want to use hono instead of the next.js backend.
But i got a few questions and concerns;
The next.js backend doesnt work as a process, and each route works like a page that wont save or use the data, setting databases and crons wont work normally like an Express or Hono app, if I will connect the Hono backend (using this video https://youtu.be/2Y3A4deNs9A, will it be the same as the next.js api/stateless? or will it work as a node process normally?
Also about speed and scale, the project will be massive, should i use the same next.js api with hono? or make a separate backend?
using the same backend instead of the next.js backend sounds better since I can share types between the front and backend, and also use the next.js server components with my databases, but should I?

0 Replies