Skip to content

Front-End Architecture

CSS Framework

We’re using Tailwind, a CSS framework (with dedicated tooling) that relies on utility classes help us work within the constraints of a system instead of littering our stylesheets with arbitrary values. They make it easy to be consistent with color choices, spacing, typography, shadows, and everything else that makes up a well-engineered design system.

Additionally, DaisyUI is used to provide some default components.

JavaScript

The front-end is developped as an Hypermedia-Driven Application:
pages are generated, using a template language, by the server (a paradigm know as Multi-Page Applications or MPAs), combined with the better user experience of Single-Page Applications (SPAs).

Additionally, two pieces of JavaScript are used to provide interactivity when useful or necessary:

  • HTMX, a small library that gives access to AJAX, CSS Transitions, WebSockets and Server Sent Events directly in HTML, using attributes, so one can build modern user interfaces with the simplicity and power of hypertext. HTMX allows an [Hypermedia-Driven Application]

  • AlpineJS: a rugged, minimal tool for composing behavior directly in your markup, that complement HTMX well.

Assets bundling

We’re using the Vite to bundle assets (CSS, JavaScript).

Vite is integrated (mostly) transparently with the backend using the Flask-Vite plugin we have developped during the project.