8da4b02154
Implement signed cookie helpers
...
Provide a convenient wrapper for setting SHA-256 HMAC signed cookies and
retreiving them with the signature validated. The secret key is
configured in the NUXT_COOKIE_SECRET_KEY environment variable.
2025-03-06 22:07:51 +01:00
3da83a7feb
Fix demo schedule origin being on Saturday
...
It was intended to have Monday as the origin point.
2025-03-05 22:54:43 +01:00
e703902c5e
Fix generated schedule using wrong date format
2025-03-05 22:43:07 +01:00
228d75db72
Generate a demo schedule if no schedule exists
2025-03-05 22:15:46 +01:00
5cc310384e
Move stored data to a volume
...
Fix the silly data wipe on re-deployment by writing the data to a
volume instead of the ephemeral container filesystem.
2025-03-05 19:10:13 +01:00
6ea3567c94
Refactor code saving data
...
Move the code dealing with saving and loading data to server/database to
gather it all up into one place.
2025-03-05 18:41:47 +01:00
d8a31db44d
Handle event streams being cancelled
...
h3 doesn't correctly handle unexpected stream closures, bypass h3 and
operate directly on the Node.js ServerResponse object to handle them.
2025-03-05 16:02:26 +01:00
250ca9a1ac
Port application from Next.js to Nuxt
...
Nuxt is based on Vue.js and I find their building blocks to be much
neater compared to the React based Next.js.
2025-03-05 15:36:50 +01:00
8c8b561f1a
Convert indents to tabs
2025-03-01 17:06:41 +01:00
5e4ea1be61
Setup defaut Nuxt template
2025-03-01 16:52:23 +01:00