Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 2.07 KB

README.md

File metadata and controls

45 lines (32 loc) · 2.07 KB

Next Holiday

Contents

Project structure

./
├── 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.

Local development

Install dependencies

In the root directory run:

npm install

Run website (frontend and backend)

In the root directory run:

npx wrangler pages dev -- npm run dev

For more information about Cloudflare Pages local development see the docs.