- Cassandra (v2.2.4)
- Docker (v1.9.1)
Run the API with docker run -d -p 8080:8080 t3g7/api $CASSANDRA_IP [-c $OTHER_CASSANDRA_IP]
The API will be available at http://$API_SERVER_IP:8080
and its documentation at http://$API_SERVER_IP:8080/docs
The documentation can be edited with Swagger: swagger project edit
Install dependencies with npm install
Run the API with node server.js -c/--cassandraip $CASSANDRA_NODE_IP [-c $OTHER_CASSANDRA_NODE_IP]
The api will be available at http://localhost:8080
The API is tested on Travis CI (not with Docker, see below for using it).
Tests using Docker must be run locally (see Issue#4).
Make sure you have Docker v1.9.1
or greater and execute test.sh
in test
.