Giter Site home page Giter Site logo

rain-chat's People

Contributors

luckiester avatar ssdbkey avatar

Watchers

 avatar

rain-chat's Issues

Update Ad related mechanism

Need to read carefully about new ad workflow details in slack
First need to add ad type(static ad || rain room ad)
Change revenue share for static ad
Required amount is different between static and rain room ads
Add static ad related apis(Need to discuss with me about static ad workflow in backend)

Ads dashboard re-organisation

There will be a lot of ads coming in the future.
According to current design, it's difficult to proceed ads once we have lots of ads.
Please find a better approach to manage ads more efficiently or make tabs as we discussed.
For Tabs, there should be 5 items(Created Ads, Pending Ads, Approved Ads, Awaiting Purchase Ads, Purchased Ads)

Transaction Table

UserId
PurchaseType(membership upgrade | ad purchase)
PurchaseAmount
Process(waiting deposit | waiting confirmation | done)
TransactionId

Let's discuss more when you implement this task. @firekingsid

[Backend] Clean up code

  1. Remove or replace all chinese words
  2. Find all "aermin" and replace it properly(maybe sarawut)
  3. Remove or replace all ghChat to rainChat(or rain-chat)

Add approvedBy field in Ads

Every ad should have a approvedBy field. It shouldn’t be showed for advertisers but it should be showed in ads dashboard for moderators and owners.

[Backend] Revenue share mechanism

25% of all purchase in advertising goes to the “Company Revenue Share” the other 75% is then divided by the Revenue Share and based on Ad purchase. Ad Purchases will have timed rains. This is to disburse evenly over time.
the Revenue share takes the Funds and Puts 75% to the rain and 25% to Upgraded Members.
Upgraded Members also are in the revenue share after commission.
Upgrade Commission:
10% to the Sponsor
This leaves 90%. This is then moved to the Revenue share divided as accordingly 25% to the Company revenue Share and 75% to the revenue share.
Company Revenue Share:
Company expenses = 20%
Owner Share = 30%
Moderator share = 50%

[Backend] Upgrade Member

$10 upgrade.
10% to Sponsor ( the person that referred them)
leaves 90% or $9.
$9 is then divided as this:
20% Company Revenue Share: this is a term of what happens with these funds. Company revenues share means that this portion of the funds is used for Company expenses, Owner Commissions, and Moderation and Administration expenses).
So $9 x 20% is $1.80
This is the amount that is then calculated by the Company Revenue Share for disbursement.
In this case
$1.80 x 20% = .36 to the Company account for Company Purposes
$1.80 x 30% = .54 Divided among the Owners
$1.80 x 50% = .90 Divided among the other operation expenses, administration and moderators.
$1 +$1.80 = $2.80 leaving $7.20 to be rained. (50/50)

[Frontend] Rain Chat Room

In order to get "rain", need to post.
Free members will be forced to view an ad before posting. This is for every post on the platform. Only Upgraded members can make a chat room and invite users. Free members will only be able to post in the RAIN room 1 time every hour. Upgraded members are not limited.
Advertising: 2 types of ads

  1. Free member Pre-post ad: this is the add that appears when a person wants to POST in a chat room. This is on a 20 second timer. Forcing the member to view the ad for 20 seconds before being enabled to post.
  2. Post Add. This is an add that appears in the Rain chat. This post will “freeze” the Rain chat room for 20 Seconds. As in the image above. This is notifying members that an ad was placed and Rain will come.

Ban Members

Owners and Moderators can be able to ban members to keep the room clear.
We want to make sure no hate speech or attempts to market some scam, are used in it.
It should work for rain room only for now but it can be changed later.

CMC Error Fix

CMC error makes the backend stop.
Need to put try...catch so that even though it has an error, the backend should continue working.

[Frontend] Landing Page

Need to have login form(don't need signup)
Description of Rain Chat System
Background Image

Maybe I can provide a mockup so don't work on this task yet.

[Frontend] Clean up code

  1. Remove or replace all chinese words
  2. Find all "aermin" and replace it properly(maybe sarawut)
  3. Remove or replace all ghChat to rainChat(or rain-chat)

[Frontend] Profile Page

There should be a place for users to go to profile page.
User can update followings in the Profile Page.

Name
Username
Email
address
Avatar
About me

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.