This file contains instructions to configure and start Relying Party UI to demonstrate relying party frontend integration with Singpass Login API.
- node server as API service (Refer Appendix section)
Additional Pre-requisites for developement mode deployment:
- Clone the repository and checkout to main branch
-
Update/Add config in config.js file located at
singpass_relying_party/relying_party_ui/src/app/config/config.js
-
Update server port in package.json file.
Follow below steps to run the app in production mode simulation.
-
After initial setup navigate to root directory of Relying party webapp and install node modules dependencies by executing below command.
npm install
-
Refer above config update section and update configs if needed.
-
To start the Relying party webapp execute below command.Webapp will start on default port 4200 which can be accessed with
https://xxxx:4200/
npm start
-
Generate SSL certificates
https://letsencrypt.org/
-
Check if the SSL certificate chain from your origin server is complete.To check use this.
https://www.ssllabs.com/ssltest/