Genesys UI
React application.
Development
This project uses npm, gulp and webpack to package the React TypeScript application.
Optional params supported:
CLIENT_SECRET
- ui app secret used for OAuth 2 authentication in java server
CLIENT_ID
- ui app id used for OAuth 2 authentication in java server
GENESYS_API_URL
- url to java server
googleClientId
- id of google project, used for OAuth authentication with Google.
Google api for configure projects: https://console.developers.google.com
To start a live-reload server and work on the application, run:
npm run serve
This starts the webpack-dev-server on port 3000:
Pack the React application for production and test server-side loading (run express server):
npm run serve:ssr
Example of using optional params:
CLIENT_ID=client-id CLIENT_SECRET=client-secret GENESYS_API_URL=http://localhost:8080 npm run serve
Documentation
We rely on the following libraries to make things work:
- Material UI: https://material-ui-1dab0.firebaseapp.com/
- Material Icons: https://material.io/icons/
- Immutability helpers: https://github.com/kolodny/immutability-helper