My impressions of snacks from around the world, found at https://snacks.melanie-richards.com
Requires the following keys, which can be obtained in Contentful through Settings > API Keys:
CTFL_SPACE: the token for this Contentful spaceCTFL_ACCESSTOKEN: use the API key for published contentCTFL_ABOUT_ID: the ID for the "About" page entry in Contentful
- Install Node :)
- Clone the repo
- Run
npm install - Run
npm run start - Visit
localhost:8080
| Command | Purpose |
|---|---|
npm run start |
Start project (serve, build CSS) |
npm run build |
Build project |
npm run checks |
Validate HTML & lint JS |
npm run lint |
Run eslint |
npm run lint:fix |
Run eslint and fix issues |
npm run validate |
Run html-validate |
Snack image size: 800px wide