Choose a frontend approach
A step of the Cloud application tree on Gradus, in the Frontend area: Second app, UI, browser tests.
Recommend how the frontend is built: a browser framework or server-rendered HTML, judged against the first journey and your experience, written as a decision record.
Usually comes after: Where the frontend lives, any option of Repository layout.
Leads to: React with Vite, Server-rendered HTML with HTMX, The first journey in the browser.
Prompt for your AI assistant
Read docs/index.md, everything under docs/product and docs/decisions. For this product's frontend, propose three approaches that fit the first journey and my experience (ask me at most two questions if that is not written down): a browser framework such as React with Vite, server-rendered HTML with HTMX from the service itself and one more that fits. For each say how it talks to the API, how it is deployed and how much it adds to maintain. Recommend one and why, then write the next docs/decisions record for the frontend with context, options, decision and consequences. Scaffold nothing yet.This is https://gradus.kazet.blog/tree/cloud-application/step/choose-frontend as plain HTML. In a browser the page also lets you mark the step forged and copy a message for your AI assistant.