personium / app-personium-trails

Application for sharing your location history.
Apache License 2.0
5 stars 5 forks source link

Append Authentication code #16

Closed yoh1496 closed 4 years ago

yoh1496 commented 4 years ago

You can launch and authentication with oAuth2.

then you can see the token in Profile page (maybe, it should be deleted.)

image

For developing, you can use fetch-mock. When you build this app in environment that NODE_ENV is production, the fetch module is overwritten by fetch-mock and you can test React rendering in local env. ( npm run debug is executed in the environment that NODE_ENV is production )