Nextjs Framework

Hey guys does the next js work very well In backend (means do you guys recommend it for use cases ?) Or just for the small project
No description
8 Replies
Jochem
Jochemβ€’12mo ago
It's one of the most popular ones. I'd personally use sveltekit over next though
ErickO
ErickOβ€’12mo ago
as with any tool, it works in specific situations and it's not a one-size-fits-all but, it'll work for many cases, specially for websites that aren't too demanding both in what the backend has to handle and the amount of active users you want a backend that logs people in and saves data to a database to then retrieve it and show it? you're good! you want a backend that'll do some heavy lifting like processing videos or AI related stuff? you might want to look elsewhere it's not that it won't work but it'll push it to its limits very quickly which can mean the page will be slow
GHOST πŸ‘»
GHOST πŸ‘»OPβ€’12mo ago
@Jochem does it required a good understanding of react which means should i use it just in react or it can work side by side with different frontend technologies cause I'm not familiar with react Fr πŸ˜‰
Jochem
Jochemβ€’12mo ago
Next is a react backend framework so you need to know react astro let's you use other frameworks if that's what you really want. Still just recommend sveltekit though
GHOST πŸ‘»
GHOST πŸ‘»OPβ€’12mo ago
@Jochem i won't really really learn react i just wanna work with the vanilla js or some like that without having to learn react
Jochem
Jochemβ€’12mo ago
That's not really an option if you're using one of the popular backend frameworks I don't think sveltekit gets close, really
GHOST πŸ‘»
GHOST πŸ‘»OPβ€’12mo ago
I appreciate your informations bro really helps πŸ‘Œ
Skylark
Skylarkβ€’12mo ago
Although you could absolutely have a dedicated service for heavy lifting. A common paradigm for something like that is you have a monolith for the site and then you have services that can scale on demand which handle heavy tasks. They could use Next.js for a website that processes videos because the processing of videos will be handled by Rust or something. Additionally the video processor could still be run on the device such as using ffmpeg and use it with async Or have a parallel process which will queue up videos to process and it’ll finish processing when it finishes processing. It is much simpler way of doing things, the website just gives a 202 and doesn’t need to update anything immediately.
Want results from more Discord servers?
Add your server