/opine

Opine is a very simple comments api for a static blog site that runs on Cloudflare Workers

Primary LanguageTypeScript

Opine

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

Features

  • Data stored in Cloudflare D1
  • Written in Typescript, using Hono framework

Usage

Install

yarn install

Run migrations (Local Development)

yarn dev-migrate

Local Development

yarn dev

Test

yarn test

Deploy

yarn deploy

Run migrations

yarn migrate