Commit Graph

14 Commits

Author SHA1 Message Date
ad515c5be9
Suppress eslint explicit any warnings required for the advanced type trickery to work.
At the call site the types are correct, it is just the type signatures that require any.
2025-04-11 00:53:38 +02:00
c1647ab498
Basic i18n support
Completely TypeScript based translation with support for parameters.
Define the value in messages.ts as a function with arguments, and they will be required at the call site.
Have the full power of TypeScript in the translation so it is possible to do stuff like switching over numbers to write nicer messages for 0/1/n, and so on.
2025-04-11 00:34:55 +02:00
f06a7381e7
useFetch hook (with optional view transition)
Had to use a .d.ts and .js file to get all the types to align and make all the tools happy, IDE/eslint/TypeScript.
2025-04-06 17:38:51 +02:00
6542cee415
Fix for browsers that do not support view transitions 2025-04-04 13:05:38 +02:00
2258f67b54
Add basic routing
Everything sould be set up to start adding features
2025-04-04 13:05:38 +02:00
a53ec6a3fe
Basic splash screen while loading initial data 2025-04-04 13:05:38 +02:00
a8889a231a
Connect frontend and backend 2025-04-03 09:55:52 +02:00
525e76cd5b
Generate OpenAPI specification 2025-04-03 09:55:52 +02:00
33988953d5
Add prettier 2025-04-03 09:55:52 +02:00
843ac8f76d
npm audit fix 2025-04-03 09:55:52 +02:00
cd9660c0b1
Protected backend with OAuth 2 login
On unauthorized HTTP response navigate to the URL indicated by the X-Authorization-Url header to begin the process of logging in.
2025-04-03 09:55:51 +02:00
f60f9f5ac5
npm create vite@latest 2025-04-03 09:55:51 +02:00
a5f1b8b63e Basic scaffolding for the backend-for-frontend component ()
It's a standard Spring Boot web application so far. Has automatic OpenTelemetry tracing to help debug and spot potential performance issues. Uses [Apimposter](https://gitea.dsv.su.se/DMC/apimposter) to mock out backend API dependencies.

Reviewed-on: 
Reviewed-by: Stefan Nenzén <nenzen@dsv.su.se>
2025-04-03 09:52:09 +02:00
7252372330
Init 2025-03-29 19:52:51 +01:00