0.0.4 • Published 2 years ago

generator-btp-open-api-connect v0.0.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

generator-btp-open-api-connect NPM version Build Status Coverage percentage

안녕하세욥

사전에 BTP의 계정과 Nodejs가 필요합니다

Installation

npm install -g yo
npm install -g generator-btp-open-api-connect

Template 생성

yo btp-open-api-connect

프로젝트 초기화, BTP CF에 배포

cf login
cd <your dir>
npm run initProject
npm run deploy_all

폴더구조

rootDir
    approuter
    security
    srv
    web
-------------
approuter 어플리케이션의 진입점
security에는 공통적으로 사용할 보안파일 xs-security.json이 들어있습니다
srv에는 index.js에서 Open API를 사용할 REST API를 정의
web에는 btp에 등록된 유저, 현재 들어온 유저의 정보와 role을 화면에 보이도록 만들어놨습니다
0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago