The Social Care Frontend allows Social Care Practitioners to edit cases and residents information.
It is a part of the Social Care system (see Social Care System Architecture for more details).
It makes use of the Hackney Design System.
The app needs Node 14, if you have NVM installed just run nvm use
in your terminal.
Install the dependencies:
yarn install
Create your .env
file from .env.sample
. You will need to grab some secrets from (TBC, it's not clear at the time of writing).
So that the auth token from using Staging/Production can work with your local dev environment and you will be able to access the application, add the following to your /etc/hosts
file...
127.0.0.1 dev.hackney.gov.uk
Run the development server:
yarn dev
Open http://dev.hackney.gov.uk:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
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!