This is an ui app using Create React App (Typescript). It includes the following customizations
- stylelint + style-lint-recommended
- using nlf-helmet for title and meta tag management
- prettier for css and ts / tsx files
See full package.json for full configuration.
npm installnpm run start
npm run lintnpm run lint:tsnpm run lint:stylenpm run test
npm run buildnode build/
npm run prerender
See create react app env vars for more details:
- Note: You must create custom environment variables beginning with
REACT_APP_* .env: Default..env.local: Local overrides. This file is loaded for all environments except test..env.development,.env.test,.env.production: Environment-specific settings..env.development.local,.env.test.local,.env.production.local: Local overrides of environment-specific settings.
Example
REACT_APP_SECRET_CODE=abcdef
| Environment Var | Development | Production |
|---|---|---|
| NODE_ENV | development | production |
| PORT | 3000 | |
| HOST | 0.0.0.0 | |
| PUBLIC_URL | ||
| HTTPS | true | |
| REACT_APP_BASE | http://localhost:3000/ | https://austin.komeijyuku.com/ |
Uses CircleCI for CI/CD.
- pushes to master will go to production
- TODO: pushes to git int/* branches will go to the staging environment
- split up original css file for each component
- higher res homepage icons on image CTAs
- NoMatch component min viewport width
- progressive web app icons and manifest config
- manifest and apple app settings updates
- a11y support with typescript
- make drop down nav accessible w/ aria attributes
- 404 page 100vh minus quote + padding
- prerender with react snap
- circle ci setup and test