|
1 |
| -# baas.io Javascript SDK |
| 1 | +## Quickstart |
2 | 2 |
|
3 |
| -JavaScript SDK for Hybrid Web Application based on [baas.io](https://baas.io) |
| 3 | +## Overview |
4 | 4 |
|
5 |
| -## 설치(Installation) |
| 5 | +앱 서비스에 연결하여 javascript/html 또는 hybrid app에 사용을 간단하게 해주는 오픈 소스 SDK다. |
6 | 6 |
|
7 |
| -#### 소스를 이용하는 방법 |
| 7 | +Repository 주소 : |
| 8 | + |
| 9 | +https://github.com/baasio/baas.io-sdk-javascript |
| 10 | + |
| 11 | +Package 다운로드 주소 : |
| 12 | + |
| 13 | +Download as a zip file: https://github.com/baasio/baas.io-sdk-javascript/archive/master.zip |
| 14 | + |
| 15 | +Download as a tar.gz file: https://github.com/baasio/baas.io-sdk-javascript/archive/master.tar.gz |
| 16 | + |
| 17 | +baas.io 앱 개발에 대한 더 많은 정보 : |
| 18 | + |
| 19 | +https://baas.io/docs/ko/devguide/ |
| 20 | + |
| 21 | +## Version |
| 22 | + |
| 23 | +Current Version: 0.9.7 |
| 24 | + |
| 25 | +변경 된 내용: |
| 26 | + |
| 27 | +https://github.com/baasio/baas.io-sdk-javascript/blob/master/changelog.md |
| 28 | + |
| 29 | +## Installing |
| 30 | + |
| 31 | +먼저 SDK를 다운로드하여 프로젝트에 baas.io.js 파일을 추가합니다. 이 파일은 SDK의 root에 있다. Html 의 상단에 추가한다. (head 태그 사이에) |
| 32 | + |
| 33 | +``` |
| 34 | +<script src="path/to/baas.io.js" type="text/javascript"></script> |
| 35 | +``` |
| 36 | + |
| 37 | +## Validation |
| 38 | + |
| 39 | +유효성 검사를 위한 확장 js파일은 앱에서 사용할 수 있다. |
| 40 | + |
| 41 | +파일 위치 : |
8 | 42 |
|
9 |
| -``` |
10 |
| -git clone https://github.com/kthcorp/baas.io-SDK-JavaScript.git |
11 |
| -cp ./baas.io-SDK-JavaScript/baas.io.js /path/to/your-project |
12 | 43 | ```
|
| 44 | +/extensions/usergrid.session.js |
| 45 | +``` |
| 46 | + |
| 47 | +HTML파일의 상단에 파일을 추가 - SDK를 추가 한 다음에 : |
| 48 | + |
| 49 | +``` |
| 50 | +<script src="path/to/baas.io.js" type="text/javascript"></script> |
| 51 | +<script src="path/to/extensions/baas.io.validation.js" type="text/javascript"></script> |
| 52 | +``` |
| 53 | + |
| 54 | +username, passwords 그리고 많은 일반적인 타입의 유효성 확인하는 다양한 함수가 있습니다. 프로젝트에 사용하기 위해 수정을 하시거나 복사를 하여 사용할 수 있습니다. |
| 55 | + |
| 56 | +## cURL |
| 57 | + |
| 58 | +cURL은 API를 직접 호출하는 가장 좋은 방법이다. IO을 선언할때 options에 buildCurl를 추가하면 된다. |
| 59 | + |
| 60 | +``` |
| 61 | +var io = new Baas.IO({ |
| 62 | + orgName:'yourorgname', |
| 63 | + appName:'sandbox', |
| 64 | + logging: true, // Optional - turn on logging, off by default |
| 65 | + buildCurl: true // Optional - turn on curl commands, off by default |
| 66 | +}); |
| 67 | +``` |
| 68 | +만약에 buildCurl의 값을 true로 하면, curl의 명령어를 만들고, console.log를 통해 명령어를 볼 수 있다. |
| 69 | + |
| 70 | +cURL의 더 자세한 내용 : |
| 71 | + |
| 72 | +http://curl.haxx.se/ |
| 73 | + |
| 74 | +## Contributing |
| 75 | + |
| 76 | +SDK의 향상을 위한 당신의 참여를 환영합니다. |
| 77 | + |
| 78 | +참여 하시는 방법 : |
| 79 | + |
| 80 | +1. SDK를 Fork한다. |
| 81 | +2. 새로운 Branch를 생성한다.(git checkout -b my-new-feature). |
| 82 | +3. 코드를 변경하고, 변경된 내용을 commit 한다.(git commit -am '변경된 간단한 내용'). |
| 83 | +4. 변경된 내용의 Branch를 Push한다.(git push origin my-new-feature). |
| 84 | +5. Pull Request를 만들어 요청한다.(변경된 내용과 왜 수정하였는지를 적음) |
13 | 85 |
|
14 |
| -#### 다운로드하는 방법 |
15 |
| -* [Development Version(0.4.0)](./baas.io-sdk-javascript/blob/master/baas.io.js) - 개발/디버깅용 |
16 |
| -* [Production Version(0.4.0)](./baas.io-sdk-javascript/blob/master/baas.io.min.js) - 압축/배포용 |
| 86 | +## Comments/Question |
17 | 87 |
|
18 |
| -## 사용법(Usage) |
| 88 | +SDK의 도움말 |
19 | 89 |
|
20 |
| -#### 기본 사용법 |
21 |
| -* [소개](https://github.com/baasio/baas.io-sdk-javascript/wiki/intro) |
22 |
| -* [주요기능]() |
23 |
| -* [기본 페이지 템플릿 생성](https://github.com/baasio/baas.io-sdk-javascript/wiki/getting-started) |
| 90 | +https://baas.io/docs/ko/javascript/index.html |
24 | 91 |
|
25 |
| -## 히스토리(History) |
| 92 | +SDK 관련 질문 또는 검색 |
26 | 93 |
|
27 |
| -* v0.4.0rc0 |
28 |
| - - 가이드 문서 업데이트 |
29 |
| - - merge usergrid sdk v0.10.3 |
30 |
| -* v0.3.0 |
31 |
| - - 스타트업 프로젝트 작성 |
32 |
| -* v0.2.0 |
33 |
| - - 키친싱크 앱 작성 |
34 |
| - - API 문서 자동화 |
35 |
| -* v0.1.0 |
36 |
| - - merge usergrid sdk v0.9.0 |
| 94 | +https://baas.io/support/ |
37 | 95 |
|
38 |
| -## 위키 |
| 96 | +## Copyright |
39 | 97 |
|
40 |
| -## 참여(Contributing) |
| 98 | +Copyright 2013 baas.io |
41 | 99 |
|
42 |
| -1. Fork it! |
43 |
| -2. Create your feature branch: `git checkout -b my-new-feature` |
44 |
| -3. Commit your changes: `git commit -am 'Add some feature'` |
45 |
| -4. Push to the branch: `git push origin my-new-feature` |
46 |
| -5. Submit a pull request :D |
| 100 | +Licensed under the Apache License, Version 2.0 (the "License"); you may not use thisfile except in compliance with the License. You may obtain a copy of the License at |
47 | 101 |
|
48 |
| -## 라이센스(License) |
| 102 | +http://www.apache.org/licenses/LICENSE-2.0 |
49 | 103 |
|
50 |
| -라이센스는 [LICENSE.md](./baas.io-sdk-javascript/blob/devel/LICENSE.md) 를 참조하세요. |
| 104 | +Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. |
0 commit comments