cruftlab / tilfeldigeord.no

A new (again) minimal, static website for tilfeldigeord.no, built with Eleventy
https://tilfeldigeord.no
MIT License
1 stars 1 forks source link

Consider creating an API #24

Open loket opened 3 years ago

loket commented 3 years ago

It should be fairly simple to create an API which could be used for, say, a Telegram bot, using the same code base as the main app (see #18). This could be hosted as a Cloudflare Worker for instance.

Probably best to keep things in a monorepo for now, and just perform a split per folder in terms of deployment/build triggers.

loket commented 2 years ago

This is also possible with Netlify Functions.

loket commented 10 months ago

Eleventy supports Serverless, which is based on Netlify Functions. So, it should be fairly straightforward to host it on Netlify, but it might be more complicated if using, say, CloudFlare Pages/Workers. Something to consider in #67.