This is a Next.js project bootstrapped with create-next-app.
Install all dependencies:
yarn installCopy the example.sentryclirc file and set the token to from your sentry account:
cp example.sentryclirc .sentryclircCopy the sample.env file and set the environment variables:
cp sample.env .envGlobally install azure function tools:
npm install -g azure-functions-core-tools@3 --unsafe-perm trueIn one terminal run the next development server:
nvm use && yarn devIn another terminal run the function server:
Copy the example.env file and set the values to point to the repairs API:
cd api/ && cp example.env .envStart the development function
cd api/ && nvm use && yarn startif the function doesn't start try switching your node version to 20.0.0
Open http://localhost:3000 with your browser to see the result.
The app can be deployed using original Gov.uk design system styles or using Lincoln.gov styles.
| Original | Lincoln |
|---|---|
![]() |
![]() |
To return to the original design, remove @import "lincoln"; from
globals.scss
To find out how these interface was designed, please read the common service pattern.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
- Testing:
- Local dev https://github.com/Azure/static-web-apps-cli

