2 ms·
It’s done in Nuxt, cool! I have a huge interest in starting using Nuxt on my next web projects. Might even start earlier because of this. How does Nuxt handle
by Alifatisk 3y ago
It’s done in Nuxt, cool!
I have a huge interest in starting using Nuxt on my next web projects. Might even start earlier because of this.
How does Nuxt handle the backend part? Any recommendations?
I am used to how Rails does it by using ActiveRecord and it’s flexible ORM.
- koch 3y agoNuxt and the Nuxt team are working on some incredible things in my opinion. I made this using Nuxt 2 which uses Vue 2, I would start with Nuxt 3 [0] which uses Vue 3 and has made a lot of improvements built upon a bunch of other open source libraries they maintain [1]. They essentially have a 'you can deploy this anywhere' model, from traditional node environments to edge runtimes like cloudflare workers. The backend part was pretty straightforward for nuxt 2 because I could just use express. I think it's a bit different (maybe even simpler?!) for nuxt 3 [2]. I haven't checked recently so I'm not too sure what kind of ORM options they have available. I suspect there would be database plugins regardless, if it's not baked into Nuxt. [0] nuxt.com [1] https://unjs.io/ https://unjs.io/ [2] https://nuxt.com/docs/guide/directory-structure/server https://nuxt.com/docs/guide/directory-structure/server