Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keynmol/cloudflare-scalajs-template
A Scala.js project deploying an application with persistence to Cloudflare Pages and Functions
https://github.com/keynmol/cloudflare-scalajs-template
cloudflare cloudflare-pages scala scalajs
Last synced: about 2 months ago
JSON representation
A Scala.js project deploying an application with persistence to Cloudflare Pages and Functions
- Host: GitHub
- URL: https://github.com/keynmol/cloudflare-scalajs-template
- Owner: keynmol
- Created: 2022-02-24T18:02:39.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-24T18:17:19.000Z (almost 3 years ago)
- Last Synced: 2024-10-30T16:49:24.739Z (3 months ago)
- Topics: cloudflare, cloudflare-pages, scala, scalajs
- Language: Scala
- Homepage: https://cloudflare-scalajs-template.pages.dev
- Size: 4.88 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cloudflare-scalajs-template
Small self-contained project to demonstrate using Cloudflare Pages and Functions with Scala.js.
See my blog post about this topic: https://blog.indoorvivants.com/2022-02-14-cloudflare-functions-with-scalajs
## usage
- Live version of the app is deployed here: https://cloudflare-scalajs-template.pages.dev
- Locally, you need to install Wrangler and run `wrangler pages dev . --kv=SQUARE`, and in a separate terminal `sbt "~buildWorkers"`
- You can see `./deploy.sh` script for the steps Cloudflare does to deploy this![2022-02-24 18 13 42](https://user-images.githubusercontent.com/1052965/155583475-2a777807-40df-4a09-97a8-967cf7dd2f5f.gif)