kSmart is a mobile and web application project designed to support people with chronic kidney disease (CKD) in tracking dietary phosphorus intake and daily health habits. It also provides tools for healthcare professionals to monitor patient records.
- Help patients record meals and understand daily phosphorus intake.
- Support medication records and daily health routines.
- Help healthcare professionals review patient information and reports.
- Daily food records and phosphorus calculations
- Food and recipe recommendations
- Medication tracking
- Daily tasks and rewards
- Patient health reports
- Warnings when phosphorus intake exceeds configured limits
app/,components/,assets/,locales/: Expo / React Native application, UI resources and translationsbackend/: Node.js, Express and MySQL backendReactAppE/: Additional React Native starter project included in the original source
The project currently uses Expo SDK 49 and React Native 0.72.6. Compatibility with newer runtimes has not been verified.
- Create a MySQL database using an appropriate schema.
- Copy
backend/.env.exampletobackend/.envand set your own database credentials and JWT secret. - Run
npm installandnpm startfrombackend/.
Database dumps and user/patient backups are excluded from this repository. Database provisioning is required before the backend can run.
- Run
npm installfrom the project root. - Update
API_BASE_URLinconfig.jsto the reachable backend address. - Run
npm startfor Expo, or usenpm run android,npm run ios, ornpm run web.
Keep local credentials in environment files. Do not commit real user or patient records. This repository contains project source code; uploading it does not deploy a running service.