Authentication / Permissions with MEAN Stack

3

I'm studying MEAN stack, I'm really enjoying it, and I'm developing simple applications, but I could not find something that would really help me understand better about authentication and permissions using MEAN, and what my bank would look like. I would appreciate it if anyone could help me, a link from a source demo, material that was not difficult to understand would help a lot. Thank you all right away.

    
asked by anonymous 20.02.2016 / 04:21

1 answer

0

Lucas, the MEAN uses the Mongo, Node and Angular. In addition, you can authenticate in a number of ways. With Angular you can apply an Interceptor and after validating the information on your server through a get request, if you return 401 you can forward the user to an "Unauthorized" page.

The persistence paradigm in MongoDb is a bit different from what we are accustomed to in the relational database.

Maybe these two links will help you:
Passport Authentication on NodeJs
Non-Angled Interfaces js

Anything is just talk.

    
09.11.2016 / 17:56