firebase-functions-typescript-starter
Create & test Firebase Cloud Functions in TypeScript
파일 탐색기
최종 버전 다운로드 (.zip)- average.ts
- sum.ts
- analysis.function.ts
- functions-config.ts
- index.ts
- analisys.spec.ts
- average.spec.ts
- .eslintrc.json
- .mocharc.json
- package-lock.json
- package.json
- rollup.config.js
- tsconfig.json
- .firebaserc
- .gitignore
- CHANGELOG.md
- firebase.json
- LICENSE
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/robisim74/firebase-functions-typescript-starter
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd firebase-functions-typescript-starter
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Node.js
쉬움 추천사전 준비물
npm test
이 명령어를 터미널에 그대로 입력해 실행하세요.
npm run build:dev
배포용으로 코드를 최적화해서 빌드 파일을 생성합니다.
npm run serve:dev
이 명령어를 터미널에 그대로 입력해 실행하세요.
npm run build
배포용으로 코드를 최적화해서 빌드 파일을 생성합니다.
npm run deploy
이 명령어를 터미널에 그대로 입력해 실행하세요.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
