This projet is a web client that depends other projects, such that identity server, Apollo server, APIs.
In order to launch the entire solution, please refer to instructions in pjx-root.
- oidc-client - to connect to the identity server.
- apollo-client - to hook to the pjx-graphql-apollo.
- Material-UI - a React UI framework
- FullCalendar - a JavaScript Calendar
This web client is depending on other components such that APIs, Identity Server, Apollo Server, etc; so please follow the instructions in pjx-root if you want to run the complete solution.
To launch the app in Docker container, run:
docker-compose up Alternatively, in the project directory, you can run for development purpose:
npm startRuns the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Follow the instructions on pjx-root for how to browse this demo web site.
npm run buildSee the section about deployment for more information.
Open http://localhost:3000 to view it in the browser. Please also follow the instructions on pjx-sso-identityserver to set up hosts file and trust the self-signed SSL certificate.
By clicking on the dashboard button, the page will forward you to the pjx-sso-identityserver to sign on.
Please run all bash(terminal) related commands from the pjx-web-react-dev container. This includes:
- Installing new npm modules
- Generating types
- Pretty much all the scripts commands in the package.json file
The one exception to this rule is the below command that will open an interactive terminal for the pjx-web-react-dev container. Once in this interactive terminal you can now run your commands the same as you would from your local terminal.
# run from your computer's terminal
npm run docker:execIf successful you should see the following in your termianl:
# This is showing me logged in as root user.
root@2lsk39bd:/usr/appTo exit the interactive terminal run the following:
exit- configure challenge code for
oidc-clientwithidentity server
