express.js 프레임워크와 TypeORM(pooling기능)을 사용하여 데이터베이스에 Create, Read, Update, Delete API 서버 구축하기
2022.11.02 ~ 2022.11.02 (CommonJS로 구현)
2023.01.16 ~ 2023.01.17 (추가: ES모듈로 구현)
- JavaScript
- NodeJS
- ExpressJS
- MySQL
- TypeORM(Pooling 기능만 사용)
- ES모듈로 서버 구동 시 package.js에서 "main"항목 다음에
"type" : "module"
추가해야 함 - ES모듈로 서버 구동 시 다음의 에러가 있으며 아직 해결하지 못함
throw new MissingDriverError_1.MissingDriverError(type, [ MissingDriverError: Wrong driver: "undefined" given. ~