Database Structure

Data Types


  • App Commission β†’ It contains only one entry. It is managed in the admin dashboard. The commission percentage to be applied in product sales is stored here.
    • ⚠️
      When you creating a template you must open an empty data field for β€œApp Commission”
  • App Statistics β†’ It stores all the revenue statistics which the app earned from the user’s as commission.
  • Booking β†’ It stores all booking data between users.
  • Eligibility Status β†’ It stores the Eligibility Status according to users.
  • FAQ β†’ It stores the FAQ part of the app.
  • Privacy & Policies β†’ It contains only one entry. It is managed in the admin dashboard. You can edit this field in the app.
    • ⚠️
      When you creating a template you must open an empty data field for β€œPrivacy & Policies”
  • Reportsβ†’ Users can report another user. The admin reviews the reported content, and the admin can block the related user if a correct report is made.
  • Series Attendandts β†’ All series attendants stores here. (according to belonged series)
  • Service β†’ It stores all services which users created.
  • Subscriptions β†’ All subscriptions are stored here.
  • Video Series β†’ Series is stored here.
  • Videos β†’ All videos are stored here. (according to relevant video series)
  • User Statistics β†’ It stores all the revenue statistics according to the relevant user
  • User β†’ User information is stored here.
  • User Profile β†’ Lots of user details are needed. Therefore we separated the user database into two pieces for better scaling.
πŸ”’
Not everyone can access all data. The privacy rules can be defined by who can access which data. Thus, only users with the allowed role can access specific data. Take a closer look at how privacy rules are set up in this template. β†’Β https://www.notion.so/rapid-dev/Privacy-Rules-7b0db3bca044472389e41589186e1119