Giter VIP home page Giter VIP logo

elijahwalkerwest / odm2restfulwebservices Goto Github PK

View Code? Open in Web Editor NEW

This project forked from odm2/odm2restfulwebservices

0.0 0.0 0.0 7.15 MB

A Python RESTful web service inteface for accessing data in an ODM2 database via Django rest swagger APIs.

Home Page: http://52.32.161.233:8001/v1/docs/

License: BSD 3-Clause "New" or "Revised" License

Python 0.91% HTML 0.09% Shell 0.01% PLpgSQL 98.99%

odm2restfulwebservices's Introduction

ODM2 RESTful Web Services

Build status

A Python RESTful web service inteface for accessing data in an ODM2 database via Django rest swagger APIs.

NOTE: Currently this repository is under heavy development, a working version is not guaranteed at any point. We will start creating tagged releases soon; once available, please use the latest tagged release for stability.

Development Installation

  1. Clone both ODM2PythonAPI repository and ODM2RESTfulWebServices repository.

    $ git clone https://github.com/ODM2/ODM2RESTfulWebServices.git odm2restapi
    $ git clone https://github.com/ODM2/ODM2PythonAPI.git odm2pythonapi
  2. Create a new conda environment from the odm2restapi environment file.

    $ cd odm2restapi/
    $ git checkout odm2rest_1_0 # This is the development branch, all PR's must merge to here!
    $ conda env create --file environment.yml
  3. Install odm2pythonapi master into the environment

    $ source activate odm2restenv
    $ pip install -e ../odm2pythonapi/ # Assuming you're still under odm2restapi folder
  4. Install npm and nodejs, which will be used to install the swagger editor.

  5. Get swagger editor for a nice interface and syntax checking when editing the swagger yaml file.

    $ cd odm2restapi/
    $ npm init -y
    $ sudo npm install -g swagger
    $ swagger project edit # This will open a new browser

Legacy prototype version

The first version of the ODM2 RESTful API was developed in late 2015 and early 2016 as a prototype. That legacy code base is no longer used, and the current code base was developed from scratch (though guided by some lessons learned). The legacy code has been archived at the odm2rest_legacy branch. See also relevant discussions on that branch and subsequent architectural decisions at issue 11.

Credits

This work was supported by National Science Foundation Grants EAR-1224638 and ACI-1339834. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation.

odm2restfulwebservices's People

Contributors

lsetiawan avatar elijahwalkerwest avatar emiliom avatar cdesyoun avatar horsburgh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.