Hello so this might be a stupid basic question for a lot of you, but I do need some help. I have a skeleton of an app made but basically what I’m trying to do is build an app that hosts custom workout plans for my clients. If you’re familiar with TrueCoach, that’s what I am looking to mimic.
I’m struggling with the concept of if you personally login to the app, how do I ensure that you only see your weekly or daily workout plan and not the other clients? If I have 100 clients that all receive custom workout plans everybody should see the same outline of the home page, but the content housed inside of it should be different.
Man I hope this makes sense, thanks for anybody who weighs in!
Hmm for your scheme, seems the devil could be in the details.
If you have 3 plans.
But as you seems to mention “each client will receive custom instructions”, you are not based on 3+ plans now but on X,Y,Z sets of “instructions profiles”.
if you planed preparing 20 custom profiles 'sets of instructions" that could apply to a 100 clients, than you need a collections of …20 profiles.
Lets say the 3 plans is just for Cost subscriptions , blablabla
you can apply any plans to any clients in a USER property “Client plan” and have him/her pay a distinct price
but you still need to create 20 sets of “customized instructions” …and you can not link them to…3+ plans.
So…
1 - Add a 1 collection for Plan A, B, C
2 - Add another collections for “Sets of instructions”…
3 - Well…One easiest way (as I can see) is just to add - lets say - 30 columns/Relationships of instructions - directly to the User (Client table)
that way each client can receive a list of instructions and only be listed the ones that applies to him.
You can set each instruction from Combo menu choice, fast, easy.
A big advantage is that : When changing the TEXT of an instruction in that way, it also updates all text for all clients, no need to get inside each client profiles…
…else…if you do not go that way - you would have to define a set of instructions for each plans - and maybe that is what you were thinking of - but unless you create “20 plans”, i don’t think you could reach the grade of precision you get by when adding instructions “directly in the Users table”.