Would be great if someone would show a way to make a SPA (with login, registration etc) with a relational DB postgresql + express.
I have 0 interest in MEAN stacks :)
A vanilla JS SPA would be a lot to ask of an example, since SPAs by their nature require enough frontend logic to necessitate a frontend framework.
Express is not actually affiliated with MEAN. MEAN is a stack curated outside of this project, and none of the Express provided examples use either Angular or MongoDB. Adding examples that cover either login or postgres would be outside the scope of Express, as those are both handled by completely different libraries (passport and pg, respectively).
However, I was able to find a whole slew of examples online by googling for express passport postgres.
Most of these are a little out of date and use Express 3, but the concepts are largely unchanged.
The browser itself a good framework. You can implement event target in any component eg.
Most helpful comment
A vanilla JS SPA would be a lot to ask of an example, since SPAs by their nature require enough frontend logic to necessitate a frontend framework.
Express is not actually affiliated with MEAN. MEAN is a stack curated outside of this project, and none of the Express provided examples use either Angular or MongoDB. Adding examples that cover either login or postgres would be outside the scope of Express, as those are both handled by completely different libraries (
passportandpg, respectively).However, I was able to find a whole slew of examples online by googling for
express passport postgres.Most of these are a little out of date and use Express 3, but the concepts are largely unchanged.