Earlier I asked whether we can restrict loading of some files based on the route. Looks like the best way to do this is create multiple apps. Let’s say we have a front end and a back end. When separating these two, my questions are…
- Is it a good idea to write the front end with plain html and js and use api calls to fetch the data? How can I do this? This is might be good for some instances but it will remove the reactivity right?
- How can I just show a simple js and html login screen (without loading the whole app (display a 404 page again without the whole app)), validate by calling the meteor app and show the real site only when logged in?
I hope the Meteor community already have good solutions for this