This project was generated with Angular CLI version 13.2.5.
Run cd ./AfiaPlus_UX && npm run start for a dev server. Navigate to http://localhost:4201/. The app will automatically reload if you change any of the source files.
Configure API Endpoints in ./AfiaPlus_UX/src/environments/environment.dev.ts && ./AfiaPlus_UX/src/environments/environment.prod.ts && ./AfiaPlus_UX/src/environments/environment.ts
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run cd ./AfiaPlus_UX && ng build to build the project. The build artifacts will be stored in the dist/ directory.
Run cd ./AfiaPlus_UX &&ng test to execute the unit tests via Karma.
Run cd ./AfiaPlus_UX && ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use cd ./AfiaPlus_UX && ng help or go check out the Angular CLI Overview and Command Reference page.
Initalize convex by running cd ./AfiaPlus_Python && pip install -r requirements.txt replace ./AfiaPlus_API/.env with values from your values.
Follow Flask development docs for configuration and further help.
Create .env file in ./AfiaPlus_Python.
Update .env variables as follows:
TIDB_DATABASE_URL=
GEMINI_API_KEY=
TIDB_HOST=
TIDB_PORT=4000
TIDB_USER=
TIDB_PASSWORD=
TIDB_DB_NAME=
CA_PATH =
For more on TiDb Cloud manual documentation Vector search.
Update ./AfiaPlus_UX/src/environments values with your own as they are subject to change.
To add knowledge base or relevant community health, medical and reseach data go to http://localhost:4201/admin/new upload your document as pdf, html, txt or docx for Retrieval Augmented Generation (RAG).