Skip to content

jasozh/web-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web-template

An opinionated web application project template.

Frame 1(5)

Getting started

Install Docker

Install Dev Containers

In VS Code, install the Dev Containers extension.

Build container

  1. Clone the GitHub repo.
  2. Open the folder in VS Code.
  3. A button should appear in the bottom right corner asking to reopen the folder in a Dev Container. Click Yes.

CI/CD

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 of frontend/.env.local to the FRONTEND_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)

About

An opinionated web application project template.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •