{"id":23421106,"url":"https://github.com/nhsdigital/nhs-notify-web-template-management","last_synced_at":"2026-04-22T13:01:19.596Z","repository":{"id":243818427,"uuid":"801574539","full_name":"NHSDigital/nhs-notify-web-template-management","owner":"NHSDigital","description":"Full stack Web UI micro front end for managing and configuring NHS Notify templates","archived":false,"fork":false,"pushed_at":"2026-04-17T14:41:50.000Z","size":23352,"stargazers_count":1,"open_issues_count":36,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-17T15:46:17.743Z","etag":null,"topics":["nhsd-notify"],"latest_commit_sha":null,"homepage":"https://nhsdigital.github.io/nhs-notify-web-template-management/","language":"TypeScript","has_issues":true,"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/NHSDigital.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-05-16T13:50:13.000Z","updated_at":"2026-04-16T08:35:04.000Z","dependencies_parsed_at":"2024-08-27T12:37:12.626Z","dependency_job_id":"9cb3eb30-6eab-4514-9a70-9e6436a5d599","html_url":"https://github.com/NHSDigital/nhs-notify-web-template-management","commit_stats":null,"previous_names":["nhsdigital/nhs-notify-web-template-management"],"tags_count":32,"template":false,"template_full_name":"NHSDigital/nhs-notify-repository-template","purl":"pkg:github/NHSDigital/nhs-notify-web-template-management","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fnhs-notify-web-template-management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fnhs-notify-web-template-management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fnhs-notify-web-template-management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fnhs-notify-web-template-management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NHSDigital","download_url":"https://codeload.github.com/NHSDigital/nhs-notify-web-template-management/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NHSDigital%2Fnhs-notify-web-template-management/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32137365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T08:34:57.708Z","status":"ssl_error","status_checked_at":"2026-04-22T08:34:55.583Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["nhsd-notify"],"created_at":"2024-12-23T02:14:02.279Z","updated_at":"2026-04-22T13:01:19.587Z","avatar_url":"https://github.com/NHSDigital.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NHS Notify Template Management (WebUI) Repository\n\n## Setting up locally\n\n### Git\n\n- Make sure you have GitHub access with the right permissions\n- Setup git locally on your machine\n- Set your local git email as you `*@nhs.net` email `e.g. git config --global user.email \"firstname.lastname1@nhs.net\"`\n- Setup commit signing (this is required before you can commit any code to the repository). This is a very good resource to help Mac users `https://gist.github.com/troyfontaine/18c9146295168ee9ca2b30c00bd1b41e`\n- Pull the repository here `git@github.com:NHSDigital/nhs-notify-web-template-management.git`\n\n### Development and Tools\n\n- Install `asdf` [HERE](https://asdf-vm.com/guide/getting-started.html#_2-download-asdf). We use this tool to manage the required version for packages (this can be found in the `.tool-versions` file at the root of the project) on the project. You can use other tools usch as `brew`, `apt`, etc, but you will be risking having different package versions to other developers.\n- Then you need to install the following plugins:\n\n```shell\n  asdf plugin add nodejs\n  asdf plugin add direnv\n  asdf plugin add terraform\n  asdf plugin add gitleaks\n  asdf plugin add pre-commit\n```\n\n- Now you can install the tools, and they will be runnable from within the `nhs-notify-web-template-management` directory:\n\n```shell\n  asdf install\n```\n\n- Now you can run the command below to install the packages in the project:\n\n```shell\n  npm install\n```\n\n### Environment Variables and .env.template\n\nThis repository provides a `.env.template` file at the root. This file contains example environment variables required for local development and deployment.\n\n**How to use:**\n\n1. Copy `.env.template` to a new file named `.env` in the same directory:\n\n   ```shell\n   cp .env.template .env\n   ```\n\n2. Open `.env` and update the values as needed for your environment. For example, set your GitHub personal access token and username:\n\n   - `GITHUB_TOKEN` – Your GitHub Personal Access Token with packages:read permissions.\n   - `GITHUB_ACTOR` – Your GitHub username associated with the token\n\n3. Save the file. The application and scripts will now use these environment variables.\n\n**Tip:**\n\n- Keep `.env` files out of version control. The `.env.template` is provided as a reference for required variables.\n\n### Running the project locally\n\n1. To create a Terraform backend sandbox, run:\n\n   ```shell\n   npm run create-backend-sandbox \u003cenvironment-name\u003e\n   ```\n\n2. Then in a separate terminal, run the app locally:\n\n   ```shell\n   npm run dev\n   ```\n\n3. Open your browser and go to `localhost:3000` to view the app.\n\n4. To destroy a Terraform backend sandbox, run:\n\n   ```shell\n   npm run destroy-backend-sandbox \u003cenvironment-name\u003e\n   ```\n\n5. (Optional) Create a `.env` file at `frontend/.env` and add `INCLUDE_AUTH_PAGES=true` to include the local auth pages when doing a production Next build\n\n### Other commands\n\n- Unit test `npm run test:unit`\n- Accessibility test `npm run test:accessibility`\n\nYou can find more commands in the `package.json` file\n\n### Running Team and IAM Web Auth projects locally\n\nRead more in the [README.md](./local/README.md).\n\n### Project structure\n\n- components `./src/components`\n- pages `./src/app`\n- SCSS Styles `./src/styles`\n- App contents `./src/content\n- Unit tests (Components) `./src/__tests__/components`\n- Unit tests (Pages) `./src/__tests__/pages`\n- Utilities functions `./src/utils`\n- Types `./src/types`\n\n### Shared Terraform Modules\n\nBefore you setup modules for this repository and find that there might be modules that can be reused elsewhere, please do check out `https://github.com/NHSDigital/nhs-notify-shared-modules/`. If you find that the modules are shareable, you should set them up there as a separate PR and get that merged in and potentially tag the commit after testing it, so that it can be a stable release that can be used across all repos on Notify should others find the need to re-use that new module. You can simply point to the reference in your module call as below:\n\n```hcl\nmodule \"amp_branch\" {\n  source = \"git::https://github.com/NHSDigital/nhs-notify-shared-modules.git//infrastructure/modules/amp_branch?ref=v1.0.0\"\n  ...\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhsdigital%2Fnhs-notify-web-template-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhsdigital%2Fnhs-notify-web-template-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhsdigital%2Fnhs-notify-web-template-management/lists"}