This is a minimal api for comments on a static blog, built to run on Cloudflare Workers. This is a proof of concept that is not suitable for production.
This has been inspired by the Hono blog example
- Data stored in Cloudflare D1
- Written in Typescript, using Hono framework
Install
yarn install
Run migrations (Local Development)
yarn dev-migrate
Local Development
yarn dev
Test
yarn test
Deploy
yarn deploy
Run migrations
yarn migrate