fmECG Project is a biomedical system for measuring electrogram data using Flutter for Mobile App, NextJS for back-end and ReactJS for web admin.
Important
In this project, team decides to separate web and server into 2 independent component with new repo. This repo will be marked as archived and not maintained. Reference only.
- Measure heart rate, blood pressure real-time with BLE connection between hardware device and mobile app
- Manage doctors, patients data from web system
- Connect doctors and patients through Chat Services with Web Socket
- Commit code using Git Tortoise
- Auto deployment flow with Github Actions and Docker
- Database migrations with Sequelize
- Tạo model trong folder entities map 1:1 với thực thể trong database
- Trong modules tạo các folder tương ứng với các thực thể
- repository : thực hiện các câu query
- service : xử lý logic
- module : import và export các lớp (service, repository, controller). Chú ý export module và import module cần thiết
- controller : nhận các request từ frontend
- checkout sang nhánh 'development' hoặc 'ECG_20241'
- git pull để kéo code mới nhất về
- npm install : cài đặt các thư viện cần thiết
- Chỉnh sửa password tương ứng với mysql workbench trên máy
- npm run db:reset
- npm run db:migrate
- npm run db:seed
Project is using git-crypt to encrypt all credentials, contributors need to contact to repo's owner to get decryption key.
Install git-crypt: MacOS, Ubuntu, Windows
After saving key somewhere in your directory, command:
git-crypt unlock <path_to_key>If all files are decrypted, done! You can run code normally.