Question 1. Client side rendering or Server side rendering? 🤔
Basically in Web applications, we have two approaches either we can render views on server side using template engines like jade,ejs,etc... or we can render views on client side using SPA frameworks (Angular/React/Vue).
Which one you prefer and which one is good to use?
Backend For JSON API only or for even rendering views
Question 2. How you make project structure? 🤔
Backend and frontend code in same project
Backend is separate project and front end is separate project
I actually use Both Backend and Frontend in same project, I create REST APIs using node/express and i use jade as server side templating for views.
Many developers creating Backend as a separate project and only writing apis and creating Frontend as a separate project and by using Angular,React,Vue they consuming that api.
Question 3: Hosting your application? 🤔
While you hosting your applications on production? Will you host backend and front end in separate servers?
Question 4: SQL queries or ORM? 🤔
I love ORM and i use sequelize on my projects, Do you use ORM or Plain SQL queries for your applications?