π©π»βπ¬ The Podcast A/B Testing Laboratory
Please consider reading our Contribution Guide before anything else.
Use make install
to install the ruby dependencies.
PORT
- HTTP port for the server, e.g.:4815
REDIS_URL
- URI to connect to Redis. e.g.:redis://127.0.0.1:6379
DHARMA_USER
- User for the dashboard auth. e.g.:admin
DHARMA_PASSWORD
- Password for the dashboard auth. e.g.:lost
Finally, run make start
to start the server.
The server will start at http://localhost:4815
by default.
The api will start at http://localhost:4815/experiments
by default, check the endpoints section for more info.
The dashboard will start at http://localhost:4815/dashboard
by default.
GET /api/experiments?experiment=foo&controll=blue&alternatives[]=green&alternatives[]=yellow&identifier=0001
- Returns the alternative for an specific userPUT /api/experiments?experiment=foo&identifier=0001
- Finish an experiment for a given user