UNPKG

@materia/users

Version:

Signin/signup your users in your Materia application

45 lines (29 loc) 861 B
# Materia - User management Addon Manage your user in your Materia application in few clicks ## Features * Simple session or token based authentication * Email / password or username / password authentication * Custom data support * Secure ## Installation In your Materia application, run `npm instal @materia/users --save` or `yarn add @materia/users`. ## Installation from local files Clone this repository: ``` git clone https://github.com/materiahq/materia-users.git cd materia-users ``` Then install dependencies and build: ``` yarn yarn build ``` To test your addon locally before publishing it to NPM, use `npm link`: ``` cd dist && npm link ``` and in your materia application ``` npm link @materia/users ``` then add "@materia/users" in the `links` array in materia.json - it will let Materia knows of the existance of the linked addon.