App class#
Basic folder structure#
Graph structure ([root]/graph/ in source code)
Folders :
admin: this is for the admin site query ( dashboard.kossie.co.uk)
coach: coach-related query (not to be confused with common user)
country: for country model
debug*: need to check
marketing: for admin site query (marketing model)
meta: for meta model
notification: for notification model
qna : for qna related (now ask for guidance query), this may seem confusing as multiple models are related to this
referral*
statistics*: for the admin site,
user: for user-related query ( all users, coach included, usually call User model)
wallet: stripe/money/transaction-related query
Root File :
errormsg: file to keep track of each error, useful for multiple errors
mutation: root mutation, sub mutation added here
query: root query, sub query added here
scalars: if you want to create a custom graphql field
schema*
service: this is a wrapper for query, pagination related is here
type: Mostly types are put here. From prev. dev
(*)need to check, ignore this for now