./
├── data/
├── frontend/
├── functions/
└── shared/
Directory | Description |
---|---|
data/ |
Generated holiday data (JSON) and the generators that build this data. Uses Deno. |
frontend/ |
Website frontend. Uses TypeScript, Lit, Shoelace web components, and Vite. Hosted on Cloudflare Pages. |
functions/ |
Website backend. An API of Cloudflare Pages Functions. Uses TypeScript. |
shared/ |
Constants, utilities, and types used across the other directories. Uses TypeScript. |
In the root directory run:
npm install
In the root directory run:
npx wrangler pages dev -- npm run dev
For more information about Cloudflare Pages local development see the docs.