An open API service indexing awesome lists of open source software.

https://github.com/mkulak/cf-comments

Cloudflare workers and d1 in kotlin
https://github.com/mkulak/cf-comments

cloudflare-d1 cloudflare-workers kotlin

Last synced: 2 months ago
JSON representation

Cloudflare workers and d1 in kotlin

Awesome Lists containing this project

README

        

Comments via cloudflare workers in Kotlin

Original [post](https://blog.cloudflare.com/making-static-sites-dynamic-with-cloudflare-d1/)

Compile:

```shell
./gradlew buildProd
```

Run locally:

```shell
wrangler dev --local
```

Apply SQL locally:

```shell
wrangler d1 execute comments-db --local --file src/schema.sql
```

Deploy:

```shell
wrangler deploy
```