https://github.com/oreillymedia/backbone-gitlab
Backbone wrapper for the Gitlab API
https://github.com/oreillymedia/backbone-gitlab
Last synced: 21 days ago
JSON representation
Backbone wrapper for the Gitlab API
- Host: GitHub
- URL: https://github.com/oreillymedia/backbone-gitlab
- Owner: oreillymedia
- License: mit
- Created: 2013-10-30T19:02:09.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2022-10-13T15:47:56.000Z (over 2 years ago)
- Last Synced: 2025-03-30T21:32:33.410Z (27 days ago)
- Language: JavaScript
- Homepage:
- Size: 246 KB
- Stars: 28
- Watchers: 14
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
Backbone for the GitLab API
==================================================`backbone-gitlab` is an open-source JavaScript library built on Backbone.js, to be used in browsers to load data via the [GitLab API](http://api.gitlab.org/).
[](https://nodei.co/npm/backbone-gitlab/)
Compiling
-------This library is written in Coffeescript, to compile run:
```bash
npm run build-js
```If you wish to watch for changes, such as when writing new tests, you can run
```bash
npm run watch-js
```Testing
-------The library ships with a testing suite that makes requests to a fake [canned](https://github.com/sideshowcoder/canned) server. First you need to install the dependencies:
```bash
npm install
```Then run this command from the root folder:
```bash
npm run build-js
npm run test
```This command will start up a canned server for stubbing tests and open a [test/index.html](https://github.com/oreillymedia/backbone-gitlab/blob/master/test/index.html) in the browser.
License
-------[MIT](https://github.com/oreillymedia/backbone-gitlab/blob/master/LICENSE)