Skip to content

NodeJS & TypeScript cloud-native application starter based on Strapi GraphQL Backend and React & Ant Design frontend, with deployment to K8S cluster

License

Notifications You must be signed in to change notification settings

bn-digital/project-templates

Repository files navigation

Brand New App

Table of contents

CI/CD Workflows

Secrets checklist

To ensure that WFs are working properly, add these GH Secrets right after project creation:

Staging Rollout

After setting up all(!) required secrets, perform these actions:

  • In the Actions tab, find WF named Bootstrap in the left pane
  • Click on the button Run workflow in the top-right corner and in pop-up window click green button Run workflow
  • 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
  • Wait for the Staging Deployment workflow to run and check your staging at REPO_NAME.bndigital.dev
  • Go to REPO_NAME.bndigital.dev/admin and set up Strapi Admin with these credentials
  • 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
  • In the appeared window enter these values:
  • For Name any name you like (e.g staging_token)
  • For Token duration select 30 days
  • For Description don't put anything
  • For Token type select Full access
  • Then copy appeared token, press Save and save it as a GH secret named STRAPI_STAGING_TRANSFER_TOKEN
  • Finally, run workflow named Transfer the same way you ran Bootstrap
  • Say a few kind words to yourself after completing all steps 🙃

Documentation & References

Environment

Sandbox

Run in sandbox

Official documentation for tools in use

About

NodeJS & TypeScript cloud-native application starter based on Strapi GraphQL Backend and React & Ant Design frontend, with deployment to K8S cluster

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published