Your web browser is out of date
Your web browser (the software you use to access the internet) is out of date. You need to update it or use a different web browser to ensure you can complete this form.
Get started
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.
- Agile and Kanban
- Gitflow and releases — branch from master as
feature/,bugfix/, orusername/; open a pull request; do not commit straight to master - User stories
- Definition of done — including cross-browser checks and WCAG 2.1 AA
What you need
- Git
- Node.js (use the version in the repository
.nvmrcwhen one exists) - Yarn
- MongoDB running locally, when the app stores data there
- Access to this product’s AWS account for the environment you are changing
- Secrets and environment files from 1Password (do not commit them)
Hosting
AWS
Tech stack
Node.jsEncrypted NoSQL database
Repositories
- formation-integrations
- formation-admin
- formation-schemas
- formation-client
- formation-documentation
- Aspolice.Formation.Admin.ReassignOfficer
- Aspolice.Formation.Api
- Aspolice.Formation.Dashboard
- Aspolice.Formation.Exporter
- Aspolice.Formation.FormRetentionManager
- Aspolice.FormationConnector
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.
- Public: avonandsomerset.police.uk/forms/admin
- Staging: staging.avonandsomerset.police.uk/forms/admin
- OPCC: avonandsomerset-pcc.gov.uk/forms/admin
- Lighthouse Victim Care: lighthousevictimcare.org/forms/admin
- SWROCU: swrocu.police.uk/forms/admin
- NPCC: formation.policedigital.services
- Content: aspolice-content-team-admin.azurewebsites.net/forms/admin
Who to ask
- Business Lead: Enquiry Office, IAU, Comms + various
- Sallyanne Parry -- Product Owner
- Christian King -- Development Team Lead
Related
Published 28 September 2026
Last updated 28 September 2026