#Is using NextJS ONLY for building an API a good idea or an overkill?
8 messages · Page 1 of 1 (latest)
🔎 This post has been indexed in our web forum and will be seen by search engines so other users can find it outside Discord
🕵️ Your user profile is private by default and won't be visible to users outside Discord, if you want to be visible in the web forum you can add the "Public Profile" role in id:customize
✅ You can mark a message as the answer for your post with Right click -> Apps -> Mark Solution
(if you don't see the option, try refreshing Discord with Ctrl + R)
honestly i would probably do this just for the ease of it
if you wanted to seperate in the future it wouldn't be too hard to change the functions to lambdas in another framework
don't take my word for gospel though, i don't know if there are implications at scale or if it even matters
yeah. Thats what I am wondering as well. If NextJS even supposed to be used without frontend. But, I removed all frontend related dependencies and its working fine.
^ kinda agree, it's probably fine if you're really against learning new tech but express is really easy and a good candidate for a simple api. plus lots of people have done it before so if you get stuck you'd have confidence someone else has faced an issue
if you just want vercel, you can use a similar to express api via vercel functions https://vercel.com/docs/functions/runtimes/node-js