then you can see the token in Profile page (maybe, it should be deleted.)
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 )
You can launch and authentication with oAuth2.
then you can see the token in Profile page (maybe, it should be deleted.)
For developing, you can use
fetch-mock
. When you build this app in environment thatNODE_ENV
isproduction
, thefetch
module is overwritten byfetch-mock
and you can test React rendering in local env. (npm run debug
is executed in the environment thatNODE_ENV
isproduction
)