Flangular - A Flask based Angularjs application with authentication Veröffentlicht:
Using Flask as backend for Angularjs applications seems natural. But how does it integrate, especially when it comes to authentication, private areas and so on.
This Proof of Concept started with the following goals:
- Not serving the Angular code of the private area to the public (not logged in users)
- Using HTTP Header based authentication for REST requests to prevent from CSRF
The result is called Flangular, a working Flask app made out of the following core components: