A simple web client to browse the data served by an Eve API. This tool is intended to help data science teams give their stakeholders a feel for available data during the early stages of analysis. The client is implemented in AngularJS using the Restangular library.
- Clone this repo into your Eve application
- Point the client at your Eve API (see the configuration section below)
- Activate the blueprint in your Flask launch script (see
example/run.py
) - Restart your application and access the
url_prefix
you configured for the blueprint
Example screenshot:
Disclaimer: I haven't tried this. All client files are static, so it should be possible to serve the client through any webserver. You'd need to have your environment configured to allow CORS. I haven't tried this, but if you get it working let me know and I'll update the documentation.
eve_databrowser/static/js/app.js
tells the client where to find your Eve API. Open that file and find the line with RestangularProvider.setBaseUrl
. This method can accept either relative or absolute URIs. If you're using an absolute URI with a port, please see this Restangular FAQ entry on properly escaping the port.
Example: if your Eve settings file has URL_PREFIX = 'api'
, you would use:
RestangularProvider.setBaseUrl('/api');
example/client.py
is from Nicola Iarocci's eve-demo-client repo. I've modified it slightly to insert more entries into the works collection, to show off the paging in the data browser.
example/settings.py
is from Nicola Iarocci's eve-demo repo. I've added a URL_PREFIX
setting.
Released under the MIT License.