This repository contains the Get Adult Social Care Data (GASCD) platform, made up of:
- A Next.js web frontend
- A .NET data API that serves metrics to the frontend
The platform aims to improve the quality, efficiency, and sharing of adult social care data and insights across local, regional, and national levels.
gascd_frontend— Next.js web frontend (React, GOV.UK Frontend)gascd_api— ASP.NET data API (FastEndpoints, PostgreSQL)docs— shared documentationutils— helper scripts and tools
Each part has a dedicated README with detailed setup and usage:
- Frontend:
gascd_frontend/README.md - API:
gascd_api/README.md
- Clone the repository.
- Run
mise installto install toolchain versions - Follow the instructions to activate mise to ensure that the correct tools are by default.
Neither service will start correctly without local environment configuration.
Before running anything:
- Complete the frontend environment setup in
gascd_frontend/README.md(for example creating.envfrom.env.template). - Complete the API environment setup in
gascd_api/README.md(for example creating local appsettings and API key configuration).
From gascd_frontend:
make docker-upto run via Dockermake run-devto run locally
From gascd_api:
docker compose upto run the API and local database- Visit
http://localhost:5050/swaggerfor API documentation
For full setup and configuration details, use the subproject READMEs:
gascd_frontend/README.mdgascd_api/README.md
This repo uses hk for git hooks configured in hk.pkl.
hk install
# If you used previous git hooks set up in this repo you may need to run this as well:
git config unset core.hooksPathRun linting checks (only on staged changes):
hk run check
If you update hk.pkl, run hk install again.