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
- Host: GitHub
- URL: https://github.com/mkulak/cf-comments
- Owner: mkulak
- Created: 2022-11-27T20:26:19.000Z (over 2 years ago)
- Default Branch: kotlin
- Last Pushed: 2023-12-02T16:18:33.000Z (over 1 year ago)
- Last Synced: 2025-02-09T07:15:12.251Z (4 months ago)
- Topics: cloudflare-d1, cloudflare-workers, kotlin
- Language: Kotlin
- Homepage:
- Size: 114 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```