Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.
/ ng-ovh-api-wrappers Public archive

AngularJS component designed to configure Api Endpoints with the same interface as a $resource

License

Notifications You must be signed in to change notification settings

ovh-ux/ng-ovh-api-wrappers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

JisayCDS Agent
and
CDS Agent
Apr 17, 2018
f80dd1c · Apr 17, 2018

History

14 Commits
Apr 17, 2018
Apr 17, 2018
Jan 18, 2018
Jun 29, 2017
Jun 29, 2017
Jun 29, 2017
Jun 29, 2017
Jun 29, 2017
Jun 29, 2017
Jan 2, 2018
Jun 29, 2017
Jan 2, 2018
Apr 17, 2018
Jun 29, 2017
Apr 17, 2018

Repository files navigation

OVH component

NPM

Maintenance Chat on gitter Build Status Build Status

ovh-angular-apiv7

The ovh-angular-apiv7 module is an angular component designed to configure Apiv7Endpoints with the same interface as a $resource yet allow for extended configuration by providing Apiv7Requests objects that can be modified with chained methods to define the parameters sent to APIv7.

Requirements

Installation

Bower

bower install ovh-angular-apiv7 --save

NPM

npm install ovh-angular-apiv7 --save

Howto's

  1. In your index.html, inject scripts and styles
 <script src="dist/ovh-angular-apiv7.min.js" type="text/javascript"></script>
  1. In your app.js, add ovh-angular-apiv7 as a dependency
angular.module("myModule", ["ovh-angular-apiv7"]);
  1. use it like $resource (see Documentation for more)

Documentation

- run `grunt connect`
- go to `http://localhost:9090/#/docs/`

Get the sources

    git clone https://github.com/ovh-ux/ovh-angular-apiv7.git
    cd ovh-angular-apiv7
    npm install
    bower install

You've developed a new cool feature ? Fixed an annoying bug ? We'd be happy to hear from you !

see CONTRIBUTING.md

Build tools

- `grunt`: to build
- `grunt test`: to run code quality inspection tools and unit tests
- `grunt watch`: to watch for code changes and rerun tests
- `grunt release --type=major|minor|patch`: to release your module

Related links

License

See https://github.com/ovh-ux/ovh-angular-apiv7/blob/master/LICENSE