Don't use!! It's still dev
- Server unnecessary
- Simple authentication system that operates only on the browser side
- Not secure
$ bower install simple-auth-client --save
$ npm install simple-auth-client --save
<script src='/lib/simple-auth-client.min.js'></script>
<script>
SimpleAuthClient.start({
password: 'foo'
});
</script>
import SimpleAuthClient from 'simple-auth-client'
SimpleAuthClient.start({
password: 'foo'
});
now writing...
# install
$ npm install
# flow-typed CLI installed
$ npm install -g flow-typed
# flow-typed install
$ flow-typed install
# serve livereload and watch at http://localhost:8080/
$ npm run watch
# build for production
$ npm run build