https://github.com/govtechsg/apex-signature-validator-server
https://github.com/govtechsg/apex-signature-validator-server
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/govtechsg/apex-signature-validator-server
- Owner: GovTechSG
- License: mit
- Created: 2018-10-09T11:07:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2026-01-27T13:31:18.000Z (4 months ago)
- Last Synced: 2026-01-28T00:53:51.786Z (4 months ago)
- Language: JavaScript
- Size: 7.31 MB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 68
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README

# APEX Signature and JOSE Validator
The Apex Signature Validator is an AngularJS application that assists APEX API consumers in verifying whether signatures are generated correctly in their applications when making restful API calls to the APEX API Gateway. See it in action [here](https://govtechsg.github.io/apex-signature-validator/).
You can find out more about Apex signature generation from our reference Node.js implementation at https://github.com/GovTechSG/node-apex-api-security.
# Microservice
This fork includes a microservice that serves the validator frontend and provides a backend to route test requests through. This allows users to make test API calls without having to configure CORS on their Apex gateway.
## Running the container
```bash
$ docker build --tag {container_tag} .
$ docker run --name {container_name} \
-p 3544:3544 \ # Publish application port
{container_tag}
```
The container will serve the signature validator front-end (e.g. http://localhost:3544, or your own webserver URL) and expose an API that the front-end will use to make HTTP calls.
## Important
### Upstream changes
- Based on: https://github.com/GovTechSG/apex-signature-validator. A more comprehensive readme is hosted there.
- To merge frontend changes, add https://github.com/GovTechSG/apex-signature-validator as a remote and pull from its master. Recommend pulling into a branch that isn't master:
```bash
$ git branch -b frontend # use a non-master branch
$ git remote add frontend https://github.com/GovTechSG/apex-signature-validator
$ git pull frontend master
```
- After pulling changes, do a PR from the frontend branch to master.