1.0.2 • Published 6 years ago

node-docbase-sdk-sample v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

node-docbase-sdk-sample

This project is a sample project for node-docbase-sdk.

このプロジェクトは、node-docbase-sdk用のサンプルプロジェクトです。

https://github.com/YukiFujisawa/node-docbase-sdk

Getting Started

nvm install

$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.3/install.sh | bash

Node.js install

$ nvm install stable
$ nvm alias default stable

Library install

$ npm install 

Get DocBase API token and setting

  1. Get DocBase API token / アクセストークンを取得する
  2. Setting token to package.json -> DOC_BASE_API_TOKEN=*** node . / トークンを設定する
  3. Setting Your Team src/index.ts -> const TEAM_NAME = 'TEAM_NAME' / 所属チームを設定する

Compile

$ npm run compile

Run node-docbase-sdk

$ npm run start