Fans Statistics

The year 2018 is considered as the first year of the eruption of China's idol industry, and thus "Fan Clubs" for various idols have also emerged.




Problems

In current idol competitions, trainees of differents conpanies usually rank by the votes of the audience. Those who rank higher will make their debut. The role of fan clubs is to gather fans of a certain idol together and raise found for voting for the idol. Because the number of fans of some idols is very large and the number is increasing everyday, it is hard for the manager of a fan club to control all the situations of fans:

Problem No.1

Every second will some people become fans of a certain idol, some of whom become fans of a band or team of idol. It is hard for managers to record every fan's ID, how much he ore she donates and which idol in the team he or she supports when the statistics update.

Problem No.2

Sometime sub-"fan club" will be founded if a team consists of several idols. And some thresholds will be set up for fans who want to join in, for example, the amont of money the fan has donated. It's not easy to filter the fans who has donated a certain amout of money for an idol.

Problem No.3

Transparency is difficult to maintain for the fan clubs. Even if sometimes the channal of donating and the usage of money are tranparent, fan club cannot always build trust with fans. Thus fan clubs need a database to keep all their fans updated to every realtime donation and usage.

Solution

"Fans Statistics" is based on Google's FireBase Realtime DataBase technology. It allows fans and managers of a fan club get an acces to a Firebase Realtime Database. Fans can create their basic information and add their money donation, while managers can consult and varify these datas as well as create money usage. Being a realtime technology, by doing so, each one of them will observe in real time the changes made and will thus, always have updated datas.

Documentation

The first step is to create a database where all data about fans could be stored and managed. In this database that served by Firebase as showed below:


Below shows the code script for connecting the database to your web page, including the 1st line of the script at the end of HTML, and the rest at the begining of script.js.



Case 1

If a fan club wants to encourage fans to donate more for their idols, they will issue some benefits only for fans who donate more than 500, then you can filter in the database according to “donation”.



Case 2

With databases, fan clubs can also select fans who are already adults for certain activities as teenagers do not bear equal responsibility when they conduct some unreasonable or even illegal actions. Managers can filter in the database according to "age".

Conclusion

Databases are efficient and effective for organizations to gather and filter data which are changing all the time. For further help you may need, please visit documentation for more information to buildup the database of your fan club and gain more time to work for your idol!