Now Ab Save Abandoned

A simple proxy server to handle Now.sh deployments AB tests

Project README

now-ab

This a simple HTTP proxy server to handle Now.sh deployments AB tests.

Usage

Deploy it with

now sergiodxa/now-ab

Now will prompt you to define 2 environment variables TEST_A and TEST_B with urls (including the protocol).

When an user access this server is going to proxy the request to one of those (doing a simple random to define which one) and will set a cookie called now_ab with the user test case (TEST_A or TEST_B).

You can also add more test variables to support more test cases just adding -e TEST_C=$URL when deploying, the server will use any variable starting with TEST_ to get possible test cases.

Open Source Agenda is not affiliated with "Now Ab" Project. README Source: sergiodxa/now-ab
Stars
25
Open Issues
0
Last Commit
4 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating