This repo has three sub-packages:
- redux-data-service: A redux wrapper for the common auth0 api actions that can be run as a standalone demo.
- react-ui: A simple React UI that makes use of the redux data service and bb ui components to demo interaction with various types of API
- mock-api: a dead simple node express server with 3 api endpoints to allow testing of authorization to those endpoints.
cd packages/redux-data-serviceyarn installyarn demo
Build and Link the Data Service Component
cd packages/redux-data-serviceyarn installyarn buildyarn link
Run the React UI
cd packages/react-uiyarn installyarn link bb-auth-data-serviceyarn demo
Run the Mock api
cd packages/mock-apiyarn installyarn start
local.teacher@dbconnection.com local.user@dbconnection.com tester.test@test99.com