Webserver Client is a sample website used to interact with the pgtoolsservice running in webserver mode --enable-web-server
Users can test out request and view responses in the browser.
From the webserver_client
directory:
- Run
npm install
to install dependencies. - Run
npx webpack
to compile and package TypeScript. - Run
npx serve .
to start the local client server. - Install self-signed ssl-certificate in your trusted roots.
Note: To use this client the pgtoolsservice must NOT be started with --disable-keep-alive
To update the DTO objects from the pgtoolservice:
- Ensure you've set up the environment as above
- Run the DTO Generator
- Run the
import_dto.ps1
orimport_dto.sh
script from this folder (depending on your environment)