Page MenuHomePhabricator

Use "views" to render HTML responses
Closed, ResolvedPublic

Description

We are currently sending HTML responses (OK and error responses) using hard-coded HTML.

Replace these with "views" (aka "templates"): https://expressjs.com/en/guide/using-template-engines.html

These views should be the basis for Web2Cit-Server internationalization and translation.

Event Timeline

diegodlh claimed this task.
diegodlh moved this task from Doing to Done on the Web2Cit-Server board.

Done using server-side React rendering instead, because using template engines such as Pug does not seem to support the type checks.