An in-browser client for Go Daddy® REST API.
See HTML UI in the API specification.
git clone https://github.com/godaddy/gdapi-ui
cd gdapi-ui
npm install
This will write files to ./compiled/{version}/, suitable for publishing to a CDN.
./bin/compile
This will start a server on the given port number (default: 3000) that serves up the assets directly. This mode is mostly suitable for development of this library itself.
./bin/gdapi-ui [port]
This will add a route into your Connect/Express service to respond with the appropriate asset. This mode is suitable for integrating with an existing project that already has a server running.
var express = require('express');
var app = express();
// Your existing routes
app.get('/', function(req, res){
res.send('Hello World');
});
var Assets = require('gd-assets');
var config = Assets.Config.load('/path/to/gdapi-ui//assets.json');
assets.middleware(app, config)
app.listen(3000);