start project
This commit is contained in:
commit
0703810fa3
62 changed files with 12665 additions and 0 deletions
21
README.md
Normal file
21
README.md
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue