Skip to content

byteofhoney/TestiT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TesiT

Python Flask MongoDB Status Status

Open source A/B testing platform. Self hostable. Free.

Assign users to variants, log conversion events and compare results through a dashboard or directly via the API. No SDK required, no pricing page, no lock-in.


How it works

  1. Create an experiment with a name and a list of variants
  2. Call the assign endpoint with any user ID to get a variant back
  3. Log a conversion event when something meaningful happens
  4. Check the results endpoint or open the dashboard to see which variant is winning

API

Create an experiment POST /experiments

Assign a user to a variant GET /experiments/:id/assign?user_id=xyz

Log a conversion POST /experiments/:id/event

Get results GET /experiments/:id/results


Stack

  • Backend: Flask, MongoDB Atlas
  • Frontend: HTML, CSS, JavaScript
  • Fonts: IBM Plex Sans, IBM Plex Mono

Running locally

Backend

cd backend
pip install -r requirements.txt

Create a .env file in the backend folder: MONGO_URI=mongodb_atlas_connection_string SECRET_KEY=enter-a-random-string

Then run:

python app.py

Frontend

Open frontend/index.html in your browser. No build step required.

About

Open source A/B testing platform. Self hostable. Assign users to variants, log conversion events and compare results through a dashboard or directly via the API.

Topics

Resources

License

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors