Wecode -기업협업 인턴 (부트캠프)/기업협업 인턴(프로젝트)

기업협업 - 2번째 프로젝트: 3일차 [전체 초기세팅 하는법]-추가 ormconfig.js

JBS 12 2023. 11. 8. 14:46

api를 짜다보니

ormconfig.js 가 필요하겠단 생각이 들어서 추가하기 

 

 

 

github에 개인 정보, 비밀번호가 올라갔을 경우 [reset --hard], local commit 내역으로 확인!

현재 나의 문제 상황: github remote 에 내 데이터베이스 비밀번호가 올라가 있다. 내가 한 액션: 1. 로컬에서 ormconfig.js 파일 생성, gitignore 에 ormconfig.js를 추가한 뒤 2. git add, git commit, push 3. 깃허브 브

pm-developer-justdoit.tistory.com


초기세팅 순서 

nest new 프로젝트 생성 
의존성 설치 
ormconfig.js
entity
repository
service
controller 
module
main. ts
서버 가동 npm run start:dev 


ormconfig.js에서,