- React
- Babel
- SCSS + PostCss
- Images/SVG/Fonts
- Nunjucks templating for static html components
- Json-server for mock api requests (GET, PUT, POST....)
npm install
npm run start:brand-one
ornpm run start:brand-two
(runs json-server concurrently on port 3004)
- In
./src/pages/_api/
create your json files to serve - Ensure endpoint name is in the json file as the parent field (how json-server works under the hood)
- Configuration file
./src/pages/_server/index.js
- Nunjucks HTML templating docs
https://mozilla.github.io/nunjucks/templating.html
- JSON-Server docs
https://github.com/typicode/json-server
- Resolve background images in SCSS files