{"id":23161342,"url":"https://github.com/slicequeue/nestjs-sequelize-boilerplate","last_synced_at":"2026-05-01T09:31:24.303Z","repository":{"id":155138210,"uuid":"320829663","full_name":"slicequeue/nestjs-sequelize-boilerplate","owner":"slicequeue","description":"slicequeue's nestjs + sequelize boilerplate!","archived":false,"fork":false,"pushed_at":"2023-01-21T07:30:35.000Z","size":237,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-04T19:29:16.900Z","etag":null,"topics":["boilerplate","nestjs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slicequeue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-12T12:49:41.000Z","updated_at":"2023-01-21T07:15:05.000Z","dependencies_parsed_at":"2023-05-15T10:45:31.021Z","dependency_job_id":null,"html_url":"https://github.com/slicequeue/nestjs-sequelize-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/slicequeue/nestjs-sequelize-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slicequeue%2Fnestjs-sequelize-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slicequeue%2Fnestjs-sequelize-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slicequeue%2Fnestjs-sequelize-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slicequeue%2Fnestjs-sequelize-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slicequeue","download_url":"https://codeload.github.com/slicequeue/nestjs-sequelize-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slicequeue%2Fnestjs-sequelize-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32492094,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["boilerplate","nestjs"],"created_at":"2024-12-17T23:13:56.331Z","updated_at":"2026-05-01T09:31:24.278Z","avatar_url":"https://github.com/slicequeue.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Description\n\nnestjs 이용한 보일러 플레이트 + Sequelize 설정\n\n## Installation\n\n```bash\n$ npm install\n```\n\n## Running the app\n\n환경 설정 파일을 build 한 경로 내부에 설정해야함\ndist/config/ 경로에 아래 파일을 생성한다.\n.\u003cNODE_ENV환경변수값\u003e.env \n설정 내용은 다음과 같다.\n\n```dotnetcli\nHOST=\u003c호스트주소 ex) localhost\u003e\nPORT=\u003c서버포트\u003e\n\nSECRET_KEY=\u003c암호화키값\u003e\nSALT_ROUND=\u003c단방향암호화_라운드수\u003e\n\nSWAGGER_BASEPATH=\u003c스웨거호스트값\u003e\n\nDB_ID=\u003c데이터베이스계정아이디\u003e\nDB_PWD=\u003c데이터베이스계정비밀번호\u003e\nDB_PORT=\u003c옵션:데이터베이스포트:디폴트시_3306\u003e\nDB_DATABASE=\u003c옵션:데이터베이스스키마:디폴트시_mariadb\u003e\n\nSEQUELIZE_DIALECT=\u003c옵션:사용할데이터베이스DIALECT:디폴트시_mariadb\u003e\n```\n\n- 위 설정을 사용은 configService 이용하여 처리함\n    - 이 값들을 이용하여 데이터베이스 상세 설정 가능\n    ```dotnetcli\n    ... 해당 부분 config/index.ts 참고, \n        이 설정을 통해 Sequelize 를 통한 접속 설정 가능\n    ```\n- 더불어 SEQUELIZE_DIALECT 관련하여 해당 dialect 지정 또는 디폴트 사용시\n    - npm install \u003cDIALECT_관련패키지\u003e --save\n    \n## 실행법\n\n```bash\n# development\n$ npm run start\n\n# watch mode\n$ npm run start:dev\n\n# production mode\n$ npm run start:prod\n```\n\n## docker \n```bash\n# docker build\n$ docker build -t \u003cdocker-image-name\u003e .\n\n# docker run\n$ docker run \u003cdocker-image-name\u003e\n```\n\n## Test\n\n```bash\n# unit tests\n$ npm run test\n\n# e2e tests\n$ npm run test:e2e\n\n# test coverage\n$ npm run test:cov\n```\n\n## Stay in touch\n\n- Author - 김진황\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslicequeue%2Fnestjs-sequelize-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslicequeue%2Fnestjs-sequelize-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslicequeue%2Fnestjs-sequelize-boilerplate/lists"}