Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend example code to user registration/login ? #18

Open
keon opened this issue Nov 1, 2015 · 2 comments
Open

extend example code to user registration/login ? #18

keon opened this issue Nov 1, 2015 · 2 comments

Comments

@keon
Copy link
Contributor

keon commented Nov 1, 2015

I mean the fron-end part of registration/login function.
two inputs and a button. when a button is pushed, it sends http request.
when logged in, it logs token into local storage, and sends token with every other requests after.
I see some code that contains user functions... but kind of hard to see how it works.

@laksmaria
Copy link

Also, It would be better to use the mock data as a service response for the AuthAPI. So that we don't need to wait for the real Auth service during the front end implementation.

@RobErskine
Copy link

I know this is a little old, but as someone who is new to React this would be super helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants