Question

Is there a meteor.js library available for managing user accounts?

I'd like to have users register, have access to unique user IDs to limit the number of times a single user can do something, and also have different tiers of users to control access. It would be great if I didn't have to build this out myself.

Était-ce utile?

La solution

Have a look at the accounts api, and the passwords package, which should save you writing most of the boilerplate code for implementing user accounts.

There is also the accounts-ui package with support for facebook, google, and others.

You'll need to implement your own ACL and make sure collections have appropriate permissions.

Finally have a look at the All Tomorrow's Parties demo for some sample implementation.

Autres conseils

Shameless plug: Here's an account manager based on the Meteor Roles package -

https://github.com/hharnisc/meteor-accounts-admin-ui-bootstrap-3/

Tutorials included in the readme.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top