📜 ⬆️ ⬇️

Inviter: how to remove topics with 1500+ comments about invites

After I opened the Google + + topic with 1500+ comments asking for an invite, I decided to write a web site that simplifies this process.

As a result, there was such a web app here .

How does it work:

1. The user is authenticated via Google OpenID.
')
2. The user selects his initial status:
a) or he is an “inviter” (i.e. one who can give an invite)
b) or he wants to get an invite
c) he has already received an invite
image

After that, if he is an “inviter”, he has the opportunity to receive a random e-mail of one of those who are waiting for an invite. And if he likes this email and he throws an invite, he presses the corresponding button. Then email is marked as the one who may have already sent an invite.
image

At any time, the user can change their status to any of these three.

Thus, in fact, the same thing as posting comments on the topics “please send”.

As a minus - anyone who has a link can leave your email. Also, an evil person can go in and mark all emails as those who were sent an invite.

In general, the system is purely "for their own" and is designed for honesty. Spinning on Amazon EC2 (Free Tier). I post the link only on Habré, in the closed blog. Of course, this is not a defense, but evil people may not get through. In the worst case, all that can be done is to spy on the email of the person who wants to invite (and so far has not been sent to him), but in the comments they still post in clear text.

The source code is available on GitHub: github.com/olostan/invitor (used node.js, mongodb)

Any statistics and the current state (number of people waiting, etc.) will be screwed a little later.

Source: https://habr.com/ru/post/123214/


All Articles