This is a nodeJS script which works like a REST API. His job is to respond a status (in JSON) for a specific user (POST / GET user_id). And check in a MySQL database, the value of a field : 0 (no), 1 (yes), 2 (not yet, wait and call me again)