Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
Tags
- 호버
- 셀렉트박스 커스텀
- scroll
- Router
- 스크롤 이벤트 감지
- Oracle LISTAGG 사용 예시
- 검색
- 앵귤러 애니메이션
- 아이오닉 스크롤 이벤트
- TAILWIND
- mysql if
- ajax 사용 예시
- route
- 모달
- summary
- angular route
- 옵저버블
- angular animation
- 앵귤러 모달
- modal
- Angular Router
- prisma
- angular button
- egov spring ajax 사용 예시
- 스크롤 이벤트
- angular modal
- formgroup
- ApexChart
- flex-1
- Ionic modal
Archives
- Today
- Total
목록nestjs 외부 DB 연결 (1)
깜놀하는 해므찌로
Angular nestjs Mysql connect 예시 / external DB connect
import { Injectable, Logger, OnModuleInit } from '@nestjs/common'; import mysql from 'mysql'; @Injectable() export class WareHouseService implements OnModuleInit { private logger = new Logger(WareHouseService.name); private connection: mysql.Connection; constructor() { this.connection = mysql.createConnection({ host: process.env['WAREHOUSE_DATABASE_URL'], port: parseInt(process.env['WAREHOUSE_DA..
IT
2023. 8. 31. 22:59