generate a notion documentation for a gym app, please also create a layout for the same
it has a following modules
Admin dashboard: it has a crud operation of customers, trainers, events and fees modules, and a update subscription of the customer
it will show the upcoming event, list of customers whose subscription is about to expire in 7 days
Trainer dashboard: it has a crud of events and update the subscription of customers
Customer dashboard: it has a page where customer can see all the upcoming events and it also show a notification it their subscription is about to expire and it also shows customer basic details and subscription details
Now the update subscription will work like the admin or trainer can search for the customer by their id or name and will have a update subscription button for each customer in the fetched list
on clicking update will check it the subscription is already expired then will consider the subscription from the current date or from the date when the subscription is about to expire
Event crud will have a display page that will show all the upcoming, completed and all events based on these 3 filters(ALL, UPCOMING, COMPLETED)
now create or update event will have event name, desc, event date time, event mode (offline/online)
in case of offline ask for address and in case of online ask for the the meet link
and also event type (paid/free) if paid ask for the payment link
for all the dashboard will have the main landing page that will show the minimum details of the module that it accessible to them
prompted by a PromptFlow user 8 months ago