Skip to content

jiangdonghan/online-hospital

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Hospital Project for IFN711

Demo

Login Page

Index page

Meeting page

Appointment page

Build Setup

Development

This monorepo was built using TypeScript, Node.js and React. All backend and frontend in the same monorepo

Benefits

  • easy to development
  • easy to maintain
  • backend and frontend shares same models
  • easy to deploy

Before Development

  • run yarn install
  • packages/hospital-backend/database/online-hospital.sql saves mysql table info
  • reference /packages/hospital-backend/configs/environments/development.ts as development config yarn run app start both frontend and backend

or

yarn workspace xxx run start

Architecture

  • yarn (no npm!)
  • typescript
  • eslint + prettier

frontend

  • react(use functional components)
  • antd

backend(typestack)

  • koa
  • typeorm
  • mysql

common

packages/common save common typescript models

technical details

config

/packages/hospital-backend/configs/environments/

use development and production environments

user authentication

JWT JWT

video and audio communication

Agora Web API Reference

live chat

Websocket

deploy

CICD: Docker + Github Actions

git

  • before merge master,squash your branch first,then rebase master, let our master commits be a straight line
  • before start pull request 前,make sure all commits are head of master
  • please use english for commit logs
  • commit rules: eg xxx: message
    • feat: add xxx function
    • fix: fix xxx problem
  • reference 《Contributing to Angular - Commit Message Guidelines》

About

Full Stack Online Medical Platform ( Monorepo)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published