# Audessa / Meadowbanks Care Audit hosting handover

## What is included

This folder contains the complete application source for the Meadowbanks Care Audit site.

The application is a Node.js web project. It requires Node.js 22.13 or newer. The basic build commands are documented in `README.md`.

## Database status

The exported application has been converted to use MySQL for audit settings, drafts and completed audit records. Import `database/schema.sql` into the organisation's MySQL server before starting the site.

Copy `.env.example` to `.env` and replace every placeholder with the organisation's real MySQL connection details. Never commit the completed `.env` file or share it by email.

## Important: where audit entries are currently stored

The exported version no longer uses browser local storage. New and edited audit records are sent to the central MySQL database.

Historical entries from the earlier browser-only version cannot be collected centrally by the server. If a browser contains important unfinished records, they must be opened and transcribed before that browser data is cleared.

Before production use, add organisation-controlled staff authentication and roles, configure encrypted backups and retention rules, and arrange security testing. The database conversion provides central persistence but does not by itself provide a complete clinical-record security regime.

## Ownership recommendation

For organisational independence, deploy this source through an account controlled by the organisation, register the domain and DNS under organisational ownership, and use an organisation-owned database and administrative email address. Avoid making a personal account the sole owner.
