Thanks for the hint. What would you recommend instead? I'm completely new to using Node as a backend.
I read some articles that described project structures, that where familiar to me and looked like they might be working, so maybe with enough care, that could be avoided.
I wouldn't recommend using native express. It gets verbose very quickly.
Thanks for the hint. What would you recommend instead? I'm completely new to using Node as a backend.
I read some articles that described project structures, that where familiar to me and looked like they might be working, so maybe with enough care, that could be avoided.
I would recommend something that has native typescript support, and a good ORM. You can look at these:
github.com/nestjs/nest
github.com/feathersjs/feathers
github.com/strongloop/loopback-next
github.com/FoalTS/foal
I prefer doing my backends in Kotlin tho. Another option would be using GO.
What I would recommend you look into is Svelte and SvelteKit, that's like the hot shit in the JS world.