https://github.com/dvsa/cvs-svc-doc-gen
Fork of MOT Doc Gen service. Produces various Test Certificates, Ministry plates and other documents
https://github.com/dvsa/cvs-svc-doc-gen
app-dev cvs-project
Last synced: 2 days ago
JSON representation
Fork of MOT Doc Gen service. Produces various Test Certificates, Ministry plates and other documents
- Host: GitHub
- URL: https://github.com/dvsa/cvs-svc-doc-gen
- Owner: dvsa
- Created: 2019-07-02T15:03:53.000Z (almost 7 years ago)
- Default Branch: develop
- Last Pushed: 2026-04-01T10:23:51.000Z (7 days ago)
- Last Synced: 2026-04-02T04:58:03.804Z (6 days ago)
- Topics: app-dev, cvs-project
- Language: Java
- Homepage:
- Size: 2.01 MB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### How to run document generator on local env
(official doc: https://github.com/awslabs/aws-sam-local)
## Pre-requisite
You will need to install the following DVSA packages to make sure you have the security checks required in place:
- [git-secrets](https://github.com/awslabs/git-secrets)
- [repo-security-scanner](https://github.com/UKHomeOffice/repo-security-scanner)
- Java 21
## Installation:
1. Install Docker (https://store.docker.com/editions/community/docker-ce-desktop-mac)
2. Install aws-sam-local: npm install -g aws-sam-local
2.1) Verify the installation worked: sam --version
Usage (run this command from root folder):
1. Invoke function: sam local invoke
OR
2. Run API Gateway locally: sam local start-api
Debugging Applications:
1. Invoke a function locally in debug mode on port 5858: sam local invoke -d 5858
OR
2. Start local API Gateway in debug mode on port 5858: sam local start-api -d 5858
3. Hit endpoint: http://127.0.0.1:3000/
4. Run debugger
### Architeture
Documentation for this service can be found [here](https://wiki.dvsacloud.uk/display/MP/Document+Generation+Service+Contract).
### Unit tests
To execute the unit tests, run: `./gradlew clean test`