- Next.js
- React
- Redux
- PostCSS
- CSS Modules
node^11.12.0
npm^6.7.0
npm i
npm run dev
The following npm
commands are available:
npm run build
: builds a static site to/out
npm run lint[:js|css][:auto]
npm run dev
: spins up a dev server atlocalhost:3000
We use Gitflow:
- We work on feature branches named
feature/<short-title-of-feature>
(or bugfix branches namedbugfix/<bug-name>
). - When the feature is done, we merge it into
development
with a PR. - When
development
is stable, we merge it intostaging
. qa
is reserved for QA andprod
is for the public.
In development, we're using next
's dev server to host the site.
However, for production, we're using next export
to build out a fully static site that's deployed to Firebase using Gitlab CI/CD pipeline.