start project

This commit is contained in:
Warunee Tamkoo 2024-09-05 13:59:43 +07:00
commit 0703810fa3
62 changed files with 12665 additions and 0 deletions

21
README.md Normal file
View file

@ -0,0 +1,21 @@
# bma-ehr-probation
Envelopment
- Node 20.x
- Express
- Mysql
Run Project
```
> npm install
> npm run dev
```
Migration
1. สร้าง entities
2. สร้างไฟล์ migration จาก entities และรัน update เข้า database
> npm run migration:generate src/migration/xxx (xxx คือชื่อไฟล์ migrate)
> npm run migration:run