Commit 343da624 authored by Frauke's avatar Frauke

Updated readme file with flow.

parent a0e8c645
......@@ -24,6 +24,13 @@ Getting up and running is as easy as 1, 2, 3.
npm start
```
OR start your app in development mode
```
npm run dev
```
## Testing
Simply run `npm test` and all your tests in the `test/` directory will be run.
......@@ -41,6 +48,22 @@ $ feathers generate model # Generate a new Model
$ feathers help # Show all commands
```
## Notes
First page you have to visit is **/register**
On this page you can fill in a domain name and password.
When you submit the form, following keys will be generated and saved to the server:
* Public key
* Private key
* Salt
* Nonce
Then you have to go to **/sign-in** you can fill in the same password as on the register page.
When you submit the form, the JWT will be created and saved in the indexedDB.
You will be redirected to the index page.
On the **/index** page you can find the sign out button. When you click the button, the indexedDB will be cleared and you will be redirected to the sign in page.
When you are logged in, you get some private data on this page. When you are not logged in, you don't see this data.
## Help
For more information on all the things you can do with Feathers visit [docs.feathersjs.com](http://docs.feathersjs.com).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment