{"id":23067000,"url":"https://github.com/dvsa/mes-microservices-starter-template","last_synced_at":"2025-04-03T09:13:51.450Z","repository":{"id":40951111,"uuid":"168511220","full_name":"dvsa/mes-microservices-starter-template","owner":"dvsa","description":"A starter template for new DES microservices","archived":false,"fork":false,"pushed_at":"2024-03-16T19:27:33.000Z","size":1165,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":10,"default_branch":"develop","last_synced_at":"2025-02-08T22:28:34.675Z","etag":null,"topics":["aws","nodejs","serverless","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dvsa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-31T11:03:38.000Z","updated_at":"2022-09-02T10:01:02.000Z","dependencies_parsed_at":"2023-02-15T05:01:37.595Z","dependency_job_id":"df587276-32ec-49f5-b63a-813fc23e7098","html_url":"https://github.com/dvsa/mes-microservices-starter-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fmes-microservices-starter-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fmes-microservices-starter-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fmes-microservices-starter-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dvsa%2Fmes-microservices-starter-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dvsa","download_url":"https://codeload.github.com/dvsa/mes-microservices-starter-template/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246970323,"owners_count":20862509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","nodejs","serverless","typescript"],"created_at":"2024-12-16T05:15:53.804Z","updated_at":"2025-04-03T09:13:51.432Z","avatar_url":"https://github.com/dvsa.png","language":"TypeScript","readme":"# mes-microservices-starter-template\n\nA serverless microservice template.\n\n## Structure\n\nAll serverless functions live in dedicated directories in `src/functions`.\nCode that is common between multiple functions should reside in `src/common`.\n\nAs per the principles of Hexagonal Architecture, each function has the following directories to help us separate concerns:\n\n* `framework` - contains all Inbound and Outbound Adapters, and all use of external/proprietary APIs - depends upon...\n* `application` - contains all Inbound and Outbound Ports, doesn't use any external/proprietary APIs - depends upon...\n* `domain` - contains all domain objects (Aggregates, Objects, Value classes etc) with all \"business logic\" (not just anaemic data holders), doesn't use any external/proprietary APIs.\n\n\n## Run locally\n\nUse the following script to spin up the microservice locally\n\n```shell\nnpm start\n```\n\n## Build\n\nTo build a zip file for every function to `build/artifacts`, run:\n\n```shell\nnpm run package\n```\n\nTo build a subset of the functions, pass a comma separated list of function names, like so:\n\n```shell\nnpm run package -- get,set\n```\n\n*N.b. The build requires [jq](https://github.com/stedolan/jq).*\n\n*Any functions delcared in serverless.yml that contain the word \"local\" will be ignored in the packaging process.*\n\n## Test\n\nTo run the unit tests, simply run:\n\n```shell\nnpm test\n```\n\n## Testing workflows locally\n\nTo run the GitHub actions locally for testing purposes, please see here:\n\nhttps://github.com/nektos/act\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvsa%2Fmes-microservices-starter-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdvsa%2Fmes-microservices-starter-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdvsa%2Fmes-microservices-starter-template/lists"}