Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.22 KB

README.md

File metadata and controls

41 lines (25 loc) · 1.22 KB

WordTree Library API

This is the Library API server for WordTree. It provides access to books in the WordTree library.

NOTE: This is not a client library (in the software sense). This is the server portion that we host on our end, so you probably don't need it.

Prerequisites

You should have a RethinkDB server and a chaNginx server running.

Deployment

docker run -d --name api-library \
           --link changinx:nx \
           -e "RDB_HOST=[RethinkDB Host IP]" \
           -v /r/data/library:/library 
           wordtree/api-library:0.1

For instance, I have RethinkDB running on 192.168.1.149, so I would use:

-e "RDB_HOST=192.168.1.149"

Usage

This is likely to change frequently, but at the time of writing, you can access these API endpoints: