필요한 환경변수들
- 본인의 db설정에 맞게 설정
DB_HOST=
DB_PORT=
DB_USERNAME=
DB_PASSWORD=
DB_DATABASE=
GOOGLE_CALLBACK_URL=
- 로컬이라면 development
- ec2라면 EC2
NODE_ENV=
- 로컬이라면 https://localhost:5173
- ec2라면 배포된 프론트 페이지 주소
FRONTEND_URL=
- 임의의 문자열 아무거나
SESSION_SECRET=itisajusttestsecretkey
- 구글 클라이언트 아이디 및 비밀번호
GOOGLE_CLIENT_ID=
GOOGLE_SECRET=
- openai 키
OPENAI_API_KEY=
- aws 접근 키
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=
AWS_S3_BUCKET_NAME=
mkcert로 localhost를 https로 만드는 법 https://msm1307.tistory.com/179 다 따라하면 되는데, .pem 파일의 이름을 key.pem, cert.pem으로 만들어서 src폴더 바로 밖에 두면 된다.
A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Check out a few resources that may come in handy when working with NestJS:
- Visit the NestJS Documentation to learn more about the framework.
- For questions and support, please visit our Discord channel.
- To dive deeper and get more hands-on experience, check out our official video courses.
- Visualize your application graph and interact with the NestJS application in real-time using NestJS Devtools.
- Need help with your project (part-time to full-time)? Check out our official enterprise support.
- To stay in the loop and get updates, follow us on X and LinkedIn.
- Looking for a job, or have a job to offer? Check out our official Jobs board.
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.