A way of running bibliothecary and it's related services as a standalone REST API
Uses docker-compose to put all the pieces together and run them all together.
Useful for analysing dependencies without going outside of a local network
Currently using a branch of bibliothecary to enable configuration of parser urls: librariesio/bibliothecary#412
Install the ruby dependencies:
bundle install
Pull all the docker images:
docker-compose up --build
Access the API on: http://locahost:5000
POST to /identify_manifests with JSON like:
{"file_names": ["package.json", "index.html", "styles.css"]}
POST to /analyse_file with JSON like:
{"file_name": "package.json", "file_contents": "contents of package.json file"}