A React (Next.js) app integrated with Contentful (headless CMS) collects car photography and POV driving videos to share the beauty of Taiwan.
node: v20.9.0
npm: v10.1.0
npm ci --force
npm run dev
npm run build
run the built version:
npm start
npm run lint
SPACE_ID={{SPACE ID}} ACCESS_TOKEN={{ACCESS TOKEN}} npm run contentful:fetch
The website is hosted on Vercel
- push to any branch will trigger preview build for that branch
- push to
release
branch will trigger production build
Cronjob: /.github/workflows/action.yml
It will fetch latest data from Contentful and generate sitemap list, and commit to release
branch
Check the csr-version-2024-01 branch, which is a pure frontend app (CSR)