This is a Next.js project bootstrapped with create-next-app
.
Install all dependencies:
yarn install
Copy the example.sentryclirc
file and set the token to from your sentry account:
cp example.sentryclirc .sentryclirc
Globally install azure function tools:
npm install -g azure-functions-core-tools@3 --unsafe-perm true
In one terminal run the next development server:
nvm use && yarn dev
In 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 .env
Start the development function
cd api/ && nvm use && yarn start
if the function doesn't start try switching your node version to 14.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