Template

screenshot of Template
nextjs
react

NextJS template de la Fabrique des ministères sociaux

Overview

This is a template for a minimal design system created by the Fabrique des ministères sociaux. It is specifically designed for developers and designers working on government websites. The template is based on codegouv/react-dsfr and includes features such as compliance pages, automated testing and release workflows, Docker image security, and integration with Sentry and Matomo.

Features

  • Pages for privacy policy, legal notices, terms of use, and usage statistics
  • Accessibility declaration and health check page
  • Additional features in the "hasura" branch, including authentication, user registration, and profile pages
  • Database interactions using Hasura
  • Storybook for component testing
  • Testing libraries like @testing-library, Jest, and Cypress
  • Talisman for preventing secrets leakage
  • Dockerfile for production using Nginx
  • Content Security Policy and security headers
  • Integration of @codegouvfr/react-dsfr for state design system
  • Integration of Sentry for error management
  • Integration of Matomo for usage statistics

Summary

The Fabrique des ministères sociaux has created a template for a minimal design system specifically for developers and designers working on government websites. The template includes various features like compliance pages, automated testing and release workflows, Docker image security, and integration with Sentry and Matomo. It also offers additional features in the "hasura" branch, such as authentication, user registration, and profile pages, along with database interactions using Hasura. Overall, this template provides a solid foundation for building government websites with a focus on security and usability.

nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

template
Templates & Themes

A template or theme refers to a pre-designed layout or structure that provides a basic framework for building a specific type of application or website. It typically includes good design, placeholder content and functional features, allowing developers to customize and fill in the details according to their specific needs.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

github-pages
GitHub Pages

Gridsome is a Vue.js-based static site generator that makes it easy to build fast and flexible websites and applications by leveraging modern web technologies like GraphQL, Webpack, and hot reloading

Storybook

Storybook is a tool for developing and testing UI components in isolation. It provides a sandbox environment where you can experiment with different props and states to see how your component responds.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.