https://github.com/coderbyheart/tdd-web-app
A starter template for a web app with testing support and automated deploy to Netlify
https://github.com/coderbyheart/tdd-web-app
Last synced: 4 months ago
JSON representation
A starter template for a web app with testing support and automated deploy to Netlify
- Host: GitHub
- URL: https://github.com/coderbyheart/tdd-web-app
- Owner: coderbyheart
- License: mit
- Created: 2021-06-10T21:55:25.000Z (over 4 years ago)
- Default Branch: saga
- Last Pushed: 2021-06-10T22:11:37.000Z (over 4 years ago)
- Last Synced: 2025-07-26T13:43:39.164Z (5 months ago)
- Language: JavaScript
- Homepage: https://focused-panini-3adc44.netlify.app
- Size: 157 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Website TDD starter
Includes test for the ReactApp and plain libraries.
## Getting started
Clone the repository, then run `npm ci` to install the dependencies.
Run `npm test` to run the tests once, use `npm run test:watch` to run them continuously for all changes.
Start the dev server using `npm start`.
## Configure automated deploy
This site only deploys after running tests using GitHub actions.
Configure these secrets in your GitHub repository:
- `NETLIFY_SECRET` ([generate one here](https://app.netlify.com/user/applications#personal-access-tokens))
- `NETLIFY_SITE_ID` (the API ID of your Netlify project)
Make sure to disable the Continuous Deployment builds on Netlify, so the are only triggered from GitHub Actions.