Express(node.js) 에서 Mysql DB 연동하기 환경 변수 .env 추가 DB_HOST = localhost DB_USER = root DBPASSWORD = userpassword DB = YourDatabaseName
Express(Node.js) + Mysql (2) Rest API Get Method 호출하기Test 라는 임의 DB에서 User Table 데이터 호출Get Method 호출 결과
Express(Node.js) + Mysql (3) MVCSever.js 에서 CRUD를 위한 쿼리문을 써서 하드 코딩 하기 보단Model - View - Controller 를 구분하여 모듈화├── Express│ ├── config│ │ └── mysql.js│ ├
Express(Node.js) + Mysql (4) Rest API Post Method 호출하기 User Table |userid |useremail|username|userpassword :-:|:-:|:-:|:-: |1|1|1|1 |2|2|2|2 Get Me
Express(Node.js) + Mysql (4) Rest API Delete Method 호출하기User TableDelete Method 호출 결과
Express(Node.js) + Mysql (6) Rest API Update Method 호출하기User TableUpdata Method 호출 결과