This repo is a experiement project to use okta auth sdk with React hooks. It also tried abstract hooks logic into separated modules for general usage.
In the project directory, you can run:
Runs the React spa app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Runs the express server in the development mode.
http://localhost:4000 to support protected api routes, like /api/messages
For more information, please see in script
in package.json file.