Skip to content
This repository was archived by the owner on Dec 1, 2025. It is now read-only.

sparc-software-hust/fmecg-web-server

Repository files navigation

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.

📒 Installation

📦 Features

  • 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

🔆 Read more

📒 Luồng viết code

  • 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

📒 Run migration and seed data

  • 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

Run code with git-crypt

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.

About

Biomedical Software Web Server system

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors