polofield.bike is deployed as a Cloudflare Worker using Hono for routing/jsx/templating support.
Currently all client-side code is written in plain javascript module
syntax with no types, bundler, or compiler. See ./static/js
.
Prettier is used for formatting
Setup
npm install
npm run wrangler -- d1 migrations apply polofield --local
Run dev server
npm run start
Format code
npm run format
Run tests
npm run jest
Check types
npm run check
npm run deploy