Skip to content

mock data updated, database exporting automatized.#132

Merged
itu-itis21-gursu20 merged 1 commit intodevelopfrom
database/mock_data_update
Jan 3, 2025
Merged

mock data updated, database exporting automatized.#132
itu-itis21-gursu20 merged 1 commit intodevelopfrom
database/mock_data_update

Conversation

@canetizen
Copy link
Member

No description provided.

@canetizen canetizen self-assigned this Jan 2, 2025
@canetizen canetizen requested a review from AbdullahSh20 January 2, 2025 21:14
Copy link
Contributor

@AbdullahSh20 AbdullahSh20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, what is the export script for?

@canetizen
Copy link
Member Author

LGTM, what is the export script for?

The export script ensures that mock data created in the database can be easily exported for each model. When the script runs, a new folder named new_mock is created, and all the data from the database is exported to that folder.

@itu-itis21-gursu20 itu-itis21-gursu20 merged commit 0649fbd into develop Jan 3, 2025
1 check passed
AbdullahSh20 added a commit that referenced this pull request Jan 5, 2025
* Bugs & Security
* updated documentation
* add secure redirect to nginx webserver
* add automatic certificate creation and checkup based on OS
* removed port mapping and utilized docker bridge network

* bug: security update v0.0.1 (#44)

* bug: security update v0.0.1

* feat: done general frontend setup and added login page (#46)

* feat: done general frontend setup and added login page

* "feat: login page implementation modified"

---------

Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>

* v0.0.2 setup update (#48)

* bug: security update v0.0.1

* bug fix

* bug

* bug fix

* v0.0.1 security and bug fix (#45)

* Bugs & Security
* updated documentation
* add secure redirect to nginx webserver
* add automatic certificate creation and checkup based on OS
* removed port mapping and utilized docker bridge network

* bug: security update v0.0.1 (#44)

* bug: security update v0.0.1

* setup update that is compatible with git bash for windows

* bug fix

* bugfix

* Abdullah sh20 patch 1 (#50)

* v0.0.1 security and bug fix (#45)

* Bugs & Security
* updated documentation
* add secure redirect to nginx webserver
* add automatic certificate creation and checkup based on OS
* removed port mapping and utilized docker bridge network

* bug: security update v0.0.1 (#44)

* bug: security update v0.0.1

* v0.1.0 (#49)

* Bugs & Security
* updated documentation
* add secure redirect to nginx webserver
* add automatic certificate creation and checkup based on OS
* removed port mapping and utilized docker bridge network

* bug: security update v0.0.1 (#44)

* bug: security update v0.0.1

* feat: done general frontend setup and added login page (#46)

* feat: done general frontend setup and added login page

* "feat: login page implementation modified"

---------

Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>

* v0.0.2 setup update (#48)

* bug: security update v0.0.1

* bug fix

* bug

* bug fix

* v0.0.1 security and bug fix (#45)

* Bugs & Security
* updated documentation
* add secure redirect to nginx webserver
* add automatic certificate creation and checkup based on OS
* removed port mapping and utilized docker bridge network

* bug: security update v0.0.1 (#44)

* bug: security update v0.0.1

* setup update that is compatible with git bash for windows

* bug fix

* bugfix

---------

Co-authored-by: Berkay Gürsu <92295749+itu-itis21-gursu20@users.noreply.github.com>
Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>

* Rename login.tsx to Login.tsx

name fix

---------

Co-authored-by: Berkay Gürsu <92295749+itu-itis21-gursu20@users.noreply.github.com>
Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>

* Delete frontend/src/pages/user/login/login.tsx

* feat: patient authorization routes added (#54)

* bugfix: backend bugfix (#56)

fixed some bugs regarding the connecting to the database, took it offline, and the way the backend is run from the docker container

* feat: patient - appointments page is implemented (#55)

Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>

* Frontend/patient appointments page implementation (#57)

* feat: patient - appointments page is implemented

* refactor: new-appointment-modal and details-modal refactored

---------

Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>
Co-authored-by: Abdullah Shamout <117589058+AbdullahSh20@users.noreply.github.com>

* feat: patient health-metrics page added (#58)

Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>

* Devops/healthcheck (#59)

* feat: add health check

added health check for dependencies when running CI pipeline so that it fails at container failures besides database, added backend CORS to webserver, removed boiler plate code

* made healthy wait dynamic

* feat: signup page implemented (#60)

Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>

* Feature/patient settings page implementation (#65)

* feat: patient medical records page implemented

* feat: setting page implementation/dark mode...

* feat: patient settings page implementation

---------

Co-authored-by: Abdullah Shamout <117589058+AbdullahSh20@users.noreply.github.com>

* feat: patient medical records page implemented (#67)

Co-authored-by: Abdullah Shamout <117589058+AbdullahSh20@users.noreply.github.com>

* feat: patient home page implemented (#68)

* Feature/patient profile page implementation (#66)

* feat: patient medical records page implemented

* feat: patient profile page implementation

---------

Co-authored-by: Abdullah Shamout <117589058+AbdullahSh20@users.noreply.github.com>

* Delete frontend/src/pages/user/login/login.tsx

* Backend/patient api (#76)

* update: login functionality updated to support all roles

* feat: patient appointments + admin-doctor features added

* reset the mongodb uri

* Update package.json

* feat: all patient routes are implemented
update: bcrypt is changed with bcryptjs to prevent compatibility issues

* update: home page controllers added

* Update index.js

---------

Co-authored-by: rberketuran <z3r0.dusty@gmail.com>

* feat: doctor and admin api added

* update: .env mongodb string

* Feature/doctor prescriptions page implementation (#81)

* feat: patient medical records page implemented

* feat: doctor prescriptions page implementation

* feat: malım

* feat: doctor prescriptions page implementation

---------

Co-authored-by: Berkay Gürsu <92295749+itu-itis21-gursu20@users.noreply.github.com>

* Feature/doctor home page implementation (#82)

* feat: patient medical records page implemented

* feat: doctor home page implementation

---------

Co-authored-by: Berkay Gürsu <92295749+itu-itis21-gursu20@users.noreply.github.com>

* feat:lab staff home page implementation (#84)

* feat:doctor patient managament page implementation (#83)

Co-authored-by: Berkay Gürsu <92295749+itu-itis21-gursu20@users.noreply.github.com>

* feat: lab staff tests page implementation (#86)

* redux state implementation and patient api requests are done (#87)

Co-authored-by: Abdullah Shamout <117589058+AbdullahSh20@users.noreply.github.com>

* design: add admin page designs (#88)

* doctor pages api requests are implemented (#89)

* doctor pages api requests are implemented

* network config changed

* feat: lab staff result page implementation (#90)

Co-authored-by: Abdullah Shamout <117589058+AbdullahSh20@users.noreply.github.com>

* admin pages are implemented and patient new appointment api calls implemented (#95)

Co-authored-by: Abdullah Shamout <117589058+AbdullahSh20@users.noreply.github.com>

* distributed mongodb cluster with replication

* patient pages refactored

* mock data is added.

* gitignore added

* ci trial

* trial2

* trial3

* trial4

* trial7

* patient pages refactored

* pipe update

* test2

* test3

* test

* ci trial 1 (#106)

* ci trial 1

* trial 2

* verbosity increased trial

* docker-compose correction

* last trial i hope

* forgot to -d

* update deploy script

* bugfix

* admin pages refactored, polyclinic and hospital pages added (#109)

* Ai/environment (#112)

* test

* taslak

* taslak model eklenmeye hazir

* nginx'e baglandi

* network bugfix

* bugfix

* bugfix

* bugfix

* feat: lab tech api + some crucial bugfixes

* .

* bugfix

* general refactor done for frontend pages (#114)

* Devops (#116)

* initialized prometheus and grafana for data monitoring and scraping

* prometheus is fully connected and functional

* add loki and promtail for logs, created grafana monitoring screens

* bugfix

* bugfix

* bugfix

* bugfix

* Frontend/general refactor (#117)

* general refactor done for frontend pages

* all pages refactored

* Frontend/general refactor (#119)

* general refactor done for frontend pages

* all pages refactored

* admin polyclinic page fix solved

* create hospital fix

* debug: some returned values fixed and doctor schedule fixed

* debug

* mock data addition (#123)

* bug fix

* bugfix

* AI model connection, configuration and setup is done (#125)

* done

* hacuna matata

---------

Co-authored-by: abdullah <abdullah@shamout.com>

* pages refactored and updated (#127)

* feat: dark mode

* labstaff page added and all pages refactored

* chatbot dialog added to patient homepage (#129)

* lab staff dark mode done (#130)

* labstaff dialog fixed

* mock data  updated, database exporting automatized. (#132)

* backend unit tests (#134)

* all pages refactored (#136)

* signup card fixed

* Update init.sh

* getpatientdetails removed

---------

Co-authored-by: Berkay Gürsu <92295749+itu-itis21-gursu20@users.noreply.github.com>
Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>
Co-authored-by: Rasim Berke Turan <72657222+rberketuran@users.noreply.github.com>
Co-authored-by: itu-itis21-oztorun20 <92295752+itu-itis21-oztorun20@users.noreply.github.com>
Co-authored-by: rberketuran <z3r0.dusty@gmail.com>
Co-authored-by: Yusuf Emir Sezgin. <122892888+JustFallenn@users.noreply.github.com>
Co-authored-by: canetizen <mcancaliskan@outlook.com>
Co-authored-by: Can Çalışkan <81326097+canetizen@users.noreply.github.com>
Co-authored-by: Berkay Gürsu <berkaygursu@Berkays-MacBook-Pro.local>
Co-authored-by: itu-itis21-gursu20 <gursu20@itu.edu.tr>
Co-authored-by: abdullah <abdullah@shamout.com>
Co-authored-by: itu-itis20-oztorun20 <oztorun20@itu.edu.tr>
Co-authored-by: Yusuf Şahin <yzfsahin@gmail.com>
@AbdullahSh20 AbdullahSh20 deleted the database/mock_data_update branch January 5, 2025 17:07
AbdullahSh20 added a commit that referenced this pull request Jan 5, 2025
* Bugs & Security
* updated documentation
* add secure redirect to nginx webserver
* add automatic certificate creation and checkup based on OS
* removed port mapping and utilized docker bridge network

* bug: security update v0.0.1 (#44)

* bug: security update v0.0.1

* feat: done general frontend setup and added login page (#46)

* feat: done general frontend setup and added login page

* "feat: login page implementation modified"

---------

Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>

* v0.0.2 setup update (#48)

* bug: security update v0.0.1

* bug fix

* bug

* bug fix

* v0.0.1 security and bug fix (#45)

* Bugs & Security
* updated documentation
* add secure redirect to nginx webserver
* add automatic certificate creation and checkup based on OS
* removed port mapping and utilized docker bridge network

* bug: security update v0.0.1 (#44)

* bug: security update v0.0.1

* setup update that is compatible with git bash for windows

* bug fix

* bugfix

* Abdullah sh20 patch 1 (#50)

* v0.0.1 security and bug fix (#45)

* Bugs & Security
* updated documentation
* add secure redirect to nginx webserver
* add automatic certificate creation and checkup based on OS
* removed port mapping and utilized docker bridge network

* bug: security update v0.0.1 (#44)

* bug: security update v0.0.1

* v0.1.0 (#49)

* Bugs & Security
* updated documentation
* add secure redirect to nginx webserver
* add automatic certificate creation and checkup based on OS
* removed port mapping and utilized docker bridge network

* bug: security update v0.0.1 (#44)

* bug: security update v0.0.1

* feat: done general frontend setup and added login page (#46)

* feat: done general frontend setup and added login page

* "feat: login page implementation modified"

---------

Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>

* v0.0.2 setup update (#48)

* bug: security update v0.0.1

* bug fix

* bug

* bug fix

* v0.0.1 security and bug fix (#45)

* Bugs & Security
* updated documentation
* add secure redirect to nginx webserver
* add automatic certificate creation and checkup based on OS
* removed port mapping and utilized docker bridge network

* bug: security update v0.0.1 (#44)

* bug: security update v0.0.1

* setup update that is compatible with git bash for windows

* bug fix

* bugfix

---------

Co-authored-by: Berkay Gürsu <92295749+itu-itis21-gursu20@users.noreply.github.com>
Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>

* Rename login.tsx to Login.tsx

name fix

---------

Co-authored-by: Berkay Gürsu <92295749+itu-itis21-gursu20@users.noreply.github.com>
Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>

* Delete frontend/src/pages/user/login/login.tsx

* feat: patient authorization routes added (#54)

* bugfix: backend bugfix (#56)

fixed some bugs regarding the connecting to the database, took it offline, and the way the backend is run from the docker container

* feat: patient - appointments page is implemented (#55)

Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>

* Frontend/patient appointments page implementation (#57)

* feat: patient - appointments page is implemented

* refactor: new-appointment-modal and details-modal refactored

---------

Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>
Co-authored-by: Abdullah Shamout <117589058+AbdullahSh20@users.noreply.github.com>

* feat: patient health-metrics page added (#58)

Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>

* Devops/healthcheck (#59)

* feat: add health check

added health check for dependencies when running CI pipeline so that it fails at container failures besides database, added backend CORS to webserver, removed boiler plate code

* made healthy wait dynamic

* feat: signup page implemented (#60)

Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>

* Feature/patient settings page implementation (#65)

* feat: patient medical records page implemented

* feat: setting page implementation/dark mode...

* feat: patient settings page implementation

---------

Co-authored-by: Abdullah Shamout <117589058+AbdullahSh20@users.noreply.github.com>

* feat: patient medical records page implemented (#67)

Co-authored-by: Abdullah Shamout <117589058+AbdullahSh20@users.noreply.github.com>

* feat: patient home page implemented (#68)

* Feature/patient profile page implementation (#66)

* feat: patient medical records page implemented

* feat: patient profile page implementation

---------

Co-authored-by: Abdullah Shamout <117589058+AbdullahSh20@users.noreply.github.com>

* Delete frontend/src/pages/user/login/login.tsx

* Backend/patient api (#76)

* update: login functionality updated to support all roles

* feat: patient appointments + admin-doctor features added

* reset the mongodb uri

* Update package.json

* feat: all patient routes are implemented
update: bcrypt is changed with bcryptjs to prevent compatibility issues

* update: home page controllers added

* Update index.js

---------

Co-authored-by: rberketuran <z3r0.dusty@gmail.com>

* feat: doctor and admin api added

* update: .env mongodb string

* Feature/doctor prescriptions page implementation (#81)

* feat: patient medical records page implemented

* feat: doctor prescriptions page implementation

* feat: malım

* feat: doctor prescriptions page implementation

---------

Co-authored-by: Berkay Gürsu <92295749+itu-itis21-gursu20@users.noreply.github.com>

* Feature/doctor home page implementation (#82)

* feat: patient medical records page implemented

* feat: doctor home page implementation

---------

Co-authored-by: Berkay Gürsu <92295749+itu-itis21-gursu20@users.noreply.github.com>

* feat:lab staff home page implementation (#84)

* feat:doctor patient managament page implementation (#83)

Co-authored-by: Berkay Gürsu <92295749+itu-itis21-gursu20@users.noreply.github.com>

* feat: lab staff tests page implementation (#86)

* redux state implementation and patient api requests are done (#87)

Co-authored-by: Abdullah Shamout <117589058+AbdullahSh20@users.noreply.github.com>

* design: add admin page designs (#88)

* doctor pages api requests are implemented (#89)

* doctor pages api requests are implemented

* network config changed

* feat: lab staff result page implementation (#90)

Co-authored-by: Abdullah Shamout <117589058+AbdullahSh20@users.noreply.github.com>

* admin pages are implemented and patient new appointment api calls implemented (#95)

Co-authored-by: Abdullah Shamout <117589058+AbdullahSh20@users.noreply.github.com>

* distributed mongodb cluster with replication

* patient pages refactored

* mock data is added.

* gitignore added

* ci trial

* trial2

* trial3

* trial4

* trial7

* patient pages refactored

* pipe update

* test2

* test3

* test

* ci trial 1 (#106)

* ci trial 1

* trial 2

* verbosity increased trial

* docker-compose correction

* last trial i hope

* forgot to -d

* update deploy script

* bugfix

* admin pages refactored, polyclinic and hospital pages added (#109)

* Ai/environment (#112)

* test

* taslak

* taslak model eklenmeye hazir

* nginx'e baglandi

* network bugfix

* bugfix

* bugfix

* bugfix

* feat: lab tech api + some crucial bugfixes

* .

* bugfix

* general refactor done for frontend pages (#114)

* Devops (#116)

* initialized prometheus and grafana for data monitoring and scraping

* prometheus is fully connected and functional

* add loki and promtail for logs, created grafana monitoring screens

* bugfix

* bugfix

* bugfix

* bugfix

* Frontend/general refactor (#117)

* general refactor done for frontend pages

* all pages refactored

* Frontend/general refactor (#119)

* general refactor done for frontend pages

* all pages refactored

* admin polyclinic page fix solved

* create hospital fix

* debug: some returned values fixed and doctor schedule fixed

* debug

* mock data addition (#123)

* bug fix

* bugfix

* AI model connection, configuration and setup is done (#125)

* done

* hacuna matata

---------

Co-authored-by: abdullah <abdullah@shamout.com>

* pages refactored and updated (#127)

* feat: dark mode

* labstaff page added and all pages refactored

* chatbot dialog added to patient homepage (#129)

* lab staff dark mode done (#130)

* labstaff dialog fixed

* mock data  updated, database exporting automatized. (#132)

* backend unit tests (#134)

* all pages refactored (#136)

* signup card fixed

* Update init.sh

* getpatientdetails removed

* background image changed, role info removed

---------

Co-authored-by: AbdullahSh20 <abdullah.shammout@hotmail.com>
Co-authored-by: Abdullah Shamout <117589058+AbdullahSh20@users.noreply.github.com>
Co-authored-by: Berkay Gürsu <berkay.gursu@codevo.com.tr>
Co-authored-by: Rasim Berke Turan <72657222+rberketuran@users.noreply.github.com>
Co-authored-by: itu-itis21-oztorun20 <92295752+itu-itis21-oztorun20@users.noreply.github.com>
Co-authored-by: rberketuran <z3r0.dusty@gmail.com>
Co-authored-by: Yusuf Emir Sezgin. <122892888+JustFallenn@users.noreply.github.com>
Co-authored-by: canetizen <mcancaliskan@outlook.com>
Co-authored-by: Can Çalışkan <81326097+canetizen@users.noreply.github.com>
Co-authored-by: Berkay Gürsu <berkaygursu@Berkays-MacBook-Pro.local>
Co-authored-by: abdullah <abdullah@shamout.com>
Co-authored-by: itu-itis20-oztorun20 <oztorun20@itu.edu.tr>
Co-authored-by: Yusuf Şahin <yzfsahin@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants