
aral@mastodon.ar.al ("Aral Balkan") wrote:
OK, so here’s likely the simplest possible example demonstrating:
• The same route, implemented as both a Kitten JavaScript Page (.page.js) and as a Kitten Markdown Page (.page.md)
• How to persist to the default Kitten JSDB¹ database.
(That first line with the nullish coalescing operator creates a “table” on the database with a default value for the count if it doesn’t already exist.)
¹ https://kitten.small-web.org/tutorials/persistence/
#Kitten #SmallWeb #web #dev #JavaScript #HTML #Markdown #example #comingSoon