Overview

This page is for developers starting work on Formation.

Online form system. Enables users to report crime, sign up for schemes, share info with us

How the team works

Work is tracked as user stories on the product board, built on a branch, and released through pull request, staging, and product-owner approval.

What you need

Hosting

AWS

Tech stack

Node.jsEncrypted NoSQL database

Repositories

Run it locally

Start with formation-schemas, formation-admin, and formation-client. Add formation-integrations when you are changing export to Niche or other systems.

You need Node.js 22 (the version in each app’s .nvmrc, currently v22.18.0), Yarn, and MongoDB running locally. formation-admin and formation-client read form definitions and submissions from MongoDB.

In each Node app:

cp .env.sample .env
yarn
yarn start

Fill .env from the sample and from 1Password. Do not commit it. Client listens on port 8080 when PORT is not set.

formation-integrations is a .NET Framework Windows service. You only need it when you are changing export behaviour.

Further reading is in formation-documentation: onboarding, architecture, submission lifecycle, and the state machine.

Environments

Use staging to check a change before it is promoted. Production is the live service.

Who to ask

Related