Skip to content

WORTI3/nhs-interactive

Repository files navigation

nhs-interactive

landing

A ChatGPT POC built within the NHS Front-end toolkit and React components.

Note This app is for educational purposes only.

Run the app

Clone the repo. Install the project dependencies:

npm i

Run the app:

npm run dev

Run tests:

npm run test

This app was split into a front and backend API. This was to make the consumption of health data easier. You will need the API running in order to perform search requests.

Optional DB integration

You can run the pocketbase executable from the root dir.

./pocketbase serve

Configuration

File: .env.{environment}

Options:

DB_STORE: boolean;
DB_URL: string;
HEALTH_AI_API_KEY: string;
HEALTH_AI_API_URL: string;
HEALTH_AI_API_HEALTH_CHECK_URL: string;