An opinionated web application project template.
In VS Code, install the Dev Containers extension.
- Clone the GitHub repo.
- Open the folder in VS Code.
- A button should appear in the bottom right corner asking to reopen the folder in a Dev Container. Click Yes.
The repository is configured with automatic monthly updates using Dependabot and automatic build testing before each pull request. The CI/CD pipeline consists of the following workflows:
pull_request.yml
runs a sanity check on every opened pull request to make sure the app still builds. NOTE: the frontend requires a proper Firebase connection to build correctly. Copy the contents offrontend/.env.local
to theFRONTEND_ENV
GitHub Actions secret and Dependabot secret. During the build step, a.env.production
file is created with this secret. Keep in mind that.env.local
must be copied to both locations since Dependabot does not have access to secrets from GitHub Actions.dependabot.yml
automatically updates dependencies on a monthly basis. Major updates have individual pull requests while all minor and patch updates are grouped together.dependabot_auto_merge.yml
automatically merges pull requests by Dependabot if it passes the sanity check.
The following GitHub settings are enabled:
- General > Allow auto-merge
- Branches > Branch protection > Require status checks to pass before merging (pull_request_build)