Building a Website with Node.js, Express.js and TypeScript
It is a project to process a lot of message notification, using RabbitMQ.
먹은 음식을 입력하면 OpenAI chatgpt를 이용해서 하루에 부족하거나 넘친 칼로리 양을 계산해서 알림해주는 어플리케이션
.env.local 파일 생성 후
.env.example과 같이 env 환경 설정에 필요한 값을 입력
이후 아래 명령어 입력
docker-compose up
├── .env.local # need .env file(local, test, production)
├── package.json # packages
├── Dockerfile # express server build
├── docker-compose.yml # service definition
├── tsconfig.json # typescript setting
├── .github # github action scripts
├── app.ts # express project entry point file
└── src # express project root directory
└── src
├── @types/api # express interface API DTO
├── routes # express API directory
├── config # express DB, Redis and RabbitMQ config directory
├── libs # express Code Moduleization
└── database
└── entity # express entity directory
현재는 node.js v18.18.2 사용중
http://localhost:5001/api-docs/
- 파일 네이밍 규칙은 아래 참고
## 카멜케이스
파일명, 변수명, 함수명, 디렉토리명은 카멜케이스로 작성한다.
## 파스칼케이스
인터페이스, 클래스는 파스칼케이스로 작성한다.