rest-api-node-typescript
Building RESTful Web APIs with Node.js, Express, MongoDB and TypeScript
파일 탐색기
최종 버전 다운로드 (.zip)- FUNDING.yml
- settings.json
- cert.pem
- key.pem
- cannot-get-data-with-http.png
- cannot-get-data-without-key.png
- cannot-get-data-without-login.png
- cover.png
- create-first-contact.png
- create-mongodb-account.png
- delete-a-contact.png
- get-all-contacts.png
- get-contact-by-id.png
- get-data-over-https.png
- get-data-with-key.png
- get-root-request.png
- login-mongodb.png
- mongo-windows.png
- mongodb-compass.png
- run-dev-server.png
- unique-key.png
- update-existing-contact.png
- conf.py
- connect-web-apis-to-MongoDB.rst
- implement-routing-and-crud.rst
- index.rst
- introduction.rst
- make.bat
- Makefile
- security-for-our-web-apis.rst
- setting-up-project.rst
- using-controller-and-model.rst
- crmController.ts
- crmModel.ts
- crmRoutes.ts
- app.ts
- server.ts
- static.txt
- .gitignore
- package-lock.json
- package.json
- README.md
- requirements.txt
- tsconfig.json
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/dalenguyen/rest-api-node-typescript
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd rest-api-node-typescript
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. 공식 설치 스크립트
쉬움 추천사전 준비물
- Node.js npm 명령어를 쓰려면 Node.js가 설치되어 있어야 합니다.
npm install -g typescript ts-node
npm 레지스트리에 배포된 패키지를 전역으로 설치합니다. 소스 클론이 필요 없습니다.
설치 후 새 터미널을 열고, 프로그램의 버전 확인 명령(예: --version)으로 정상 설치됐는지 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
3. Node.js
쉬움사전 준비물
npm install -g typescript ts-node
npm 레지스트리에 배포된 패키지를 전역으로 설치합니다. 소스 클론이 필요 없습니다.
npm install
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm run dev
개발/실행 서버를 켭니다.
npm run prod
이 명령어를 터미널에 그대로 입력해 실행하세요.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
