typescript-node
:clipboard: TypeScript and NodeJS project template.
파일 탐색기
최종 버전 다운로드 (.zip)- launch.json
- create_database.sql
- index.ts
- task.ts
- user.ts
- index.ts
- 20180330164632_create_schema.ts
- index.ts
- index.ts
- index.ts
- index.ts
- task-manager.ts
- user-manager.ts
- index.ts
- task-repository.ts
- user-repository.ts
- controller.ts
- index.ts
- authentication.ts
- authorization.ts
- error-handler.ts
- index.ts
- log-request.ts
- response-time.ts
- validator.ts
- controller.ts
- index.ts
- model.ts
- validators.ts
- controller.ts
- index.ts
- model.ts
- validators.ts
- index.ts
- container.ts
- errors.ts
- index.ts
- health-check.test.ts
- create-task.test.ts
- delete-task.test.ts
- get-all-tasks.test.ts
- get-task.test.ts
- update-task.test.ts
- change-password.test.ts
- create-user.test.ts
- delete-user.test.ts
- login.test.ts
- update-user.test.ts
- user-me.test.ts
- database-utils.ts
- global-hooks.test.ts
- server-utils.ts
- hasher.test.ts
- health.test.ts
- authentication.test.ts
- authorization.test.ts
- error-handler.test.ts
- log-request.test.ts
- response-time.test.ts
- validator.test.ts
- .editorconfig
- .gitignore
- .nvmrc
- .travis.yml
- docker-compose.yml
- Dockerfile
- LICENSE
- package-lock.json
- package.json
- README.md
- tsconfig.json
- tslint.json
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/Talento90/typescript-node
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd typescript-node
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker compose up -d --build
정의된 모든 컨테이너(서버, DB 등)를 한 번에 빌드하고 백그라운드에서 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
