{"id":19663818,"url":"https://github.com/bn-digital/project-templates","last_synced_at":"2025-04-28T21:33:01.109Z","repository":{"id":159881619,"uuid":"329471917","full_name":"bn-digital/project-templates","owner":"bn-digital","description":"NodeJS \u0026 TypeScript cloud-native application starter based on Strapi GraphQL Backend and React \u0026 Ant Design frontend, with deployment to K8S cluster","archived":false,"fork":false,"pushed_at":"2024-06-10T15:31:12.000Z","size":69792,"stargazers_count":2,"open_issues_count":9,"forks_count":3,"subscribers_count":6,"default_branch":"latest","last_synced_at":"2025-04-05T11:23:07.300Z","etag":null,"topics":["antd","docker","helm","kubernetes","less","nodejs","parcel","react","strapi","typescript"],"latest_commit_sha":null,"homepage":"https://project-templates.bndigital.dev","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/bn-digital.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-14T01:07:05.000Z","updated_at":"2023-12-13T11:13:52.000Z","dependencies_parsed_at":"2024-02-29T21:44:16.453Z","dependency_job_id":null,"html_url":"https://github.com/bn-digital/project-templates","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/bn-digital%2Fproject-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bn-digital%2Fproject-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bn-digital%2Fproject-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bn-digital%2Fproject-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bn-digital","download_url":"https://codeload.github.com/bn-digital/project-templates/tar.gz/refs/heads/latest","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251391344,"owners_count":21582154,"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":["antd","docker","helm","kubernetes","less","nodejs","parcel","react","strapi","typescript"],"created_at":"2024-11-11T16:15:46.933Z","updated_at":"2025-04-28T21:33:00.524Z","avatar_url":"https://github.com/bn-digital.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Brand New App\n\n## Table of contents\n\n- [CI/CD Workflows](#cicd-workflows)\n- [Documentation \u0026 References](#documentation--references)\n- [Environment](#environment)\n\n## CI/CD Workflows\n\n### Secrets checklist\n\nTo ensure that WFs are working properly, add these GH Secrets right after project creation:\n- [ ] Secrets for `VAULT_TOKEN` and `VAULT_ENDPOINT` (copy `github-token` and `url` from [https://vault.bndigital.dev](https://vault.bndigital.dev/ui/vault/secrets/infrastructure/show/vault))\n- [ ] Secret for `GH_TOKEN` (copy `github-token` from [https://vault.bndigital.dev](https://vault.bndigital.dev/ui/vault/secrets/accounts/show/github/bn-enginseer))\n- [ ] Secret for `HARBOR_TOKEN` (copy `api-token` from [https://vault.bndigital.dev](https://vault.bndigital.dev/ui/vault/secrets/accounts/show/dcr.bndigital.dev))\n\n## Staging Rollout\n\nAfter setting up **_all_**(!) required secrets, perform these actions:\n- [ ] In the `Actions` tab, find WF named `Bootstrap` in the left pane\n- [ ] Click on the button `Run workflow` in the top-right corner and in pop-up window click green button `Run workflow`\n- [ ] After that open code editor of your choice and replace all occurrences of `\"project-templates\"` in all `package.json` files with the name of your project, run `yarn install` from project root, then commit and push these changes\n- [ ] Wait for the `Staging Deployment` workflow to run and check your staging at `REPO_NAME.bndigital.dev`\n- [ ] Go to `REPO_NAME.bndigital.dev/admin` and set up Strapi Admin with [these](https://vault.bndigital.dev/ui/vault/secrets/templates/show/project/staging/strapi) credentials\n- [ ] Click on the `Settings` option in the menu on the left and on the page that appeared click `Transfer tokens` and then `+ Create new Transfer Token` button in the top-right corner\n- [ ] In the appeared window enter these values:\n- For `Name` any name you like (e.g staging_token)\n- For `Token duration` select `30 days`\n- For `Description` don't put anything\n- For `Token type` select `Full access`\n- [ ] Then copy appeared token, press `Save` and save it as a GH secret named `STRAPI_STAGING_TRANSFER_TOKEN`\n- [ ] Finally, run workflow named `Transfer` the same way you ran `Bootstrap`\n- [ ] Say a few kind words to yourself after completing all steps 🙃\n \n## Documentation \u0026 References\n\n- [React Documentation](https://react.dev/reference/react)\n- [Strapi CMS Documentation](https://docs.strapi.io/developer-docs/latest/getting-started/introduction.html)\n- [Ant Design Components](https://ant.design/components/overview/)\n- [GitHub Actions](https://docs.github.com/en/actions)\n- [Build and run as Docker container](docs/docker.md)\n- [Environment variables](docs/env-variables.md)\n- [Backend object storage](docs/storage.md)\n\n## Environment\n\n### Sandbox\n\n[Run in sandbox](https://codesandbox.io/p/github/bn-digital/project-templates/latest)\n\n### Official documentation for tools in use\n\n- [docker](https://docs.docker.com/)\n- [kubectl](https://github.com/kubernetes/kubectl)\n- [helm](https://github.com/helm/helm)\n- [helmfile](https://github.com/helmfile/helmfile)\n- [doctl](https://github.com/digitalocean/doctl)\n- [pulumi](https://github.com/pulumi/pulumi)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbn-digital%2Fproject-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbn-digital%2Fproject-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbn-digital%2Fproject-templates/lists"}