@moxb/shards-accounts-meteor
v0.4.8
Published
Shards: basic meteor user account handling with ant design
Downloads
19
Readme
Shards - User accounts by Meteor
This package provides a Meteor-based authentication backend for @moxb/shards-accounts-flow-antd.
This is considered to be W.I.P.
Quick start
Client side:
import {MeteorAuthBackend} from '@moxb/shards-accounts-meteor';
const authBackend = new MeteorAuthBackend();
... and then pass this backend to <WithLoginFlow>
.
Server side:
import {setupUserAccounts} from '@moxb/shards-accounts-meteor/dist/server';
setupUserAccounts()
This is required to set up the paths that will go into the various account-related emails so that it matches with the client-side routing.