Authentication / Permissions with MEAN Stack

Asked

Viewed 181 times

3

I’m studying the MEAN stack, I’m really enjoying it, and I’m developing simple applications, but I couldn’t find something that would really help me understand better about authentication and permissions using MEAN, and what my bank would look like. I would really appreciate it if someone could help me, a link from a demo source, material that wasn’t hard to understand would help a lot. Thank you all from now on.

  • See if you can help: http://www.ibm.com/developerworks/br/library/wa-mean5/

  • Are you using any framework? If you have used Mean.js, in the folder it serves for each module you control most of the permissions in route and policy. In client but route folder has option too.

1 answer

0

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

The persistence paradigm in Mongodb is slightly different from what we’re used to in the relational database.

Maybe these two links will help you:
Passport authentication in Nodejs
Interceptors at angular js

Anything you can say.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.