Commit Graph

13 Commits

Author SHA1 Message Date
Michael Dausmann
5b2fe2f6c9 Signup flow + switch to serverSupabaseUser in context (fixes token refresh issue)+ lib upgrades for nuxt/supabase and nuxt/trpc 2023-04-01 16:53:47 +11:00
Michael Dausmann
f2fa72b2a1 max user limits + check plan active on webhook + flow tweaks 2023-03-25 16:03:28 +11:00
Michael Dausmann
45fb639fcf user.email account.plan_name - cleanup context and service construction - config for stripe callback - initial plan 2023-03-19 15:48:08 +11:00
Michael Dausmann
7311c13db2 Basic Stripe integration. new pages for stripe handshake and new Account page. use query instead of useQuery for trpc fetches from store 2023-03-18 20:37:51 +11:00
Michael Dausmann
2ef98d0d98 initialise user and dbUser objects within getContext so they load per request 2023-02-26 11:41:55 +11:00
Michael Dausmann
61bab50aef mutate context dbUser along with db changes 2023-02-25 18:34:56 +11:00
Michael Dausmann
a341a641e8 refactor admin functions in store to use active account - introduce admin middleware 2023-02-24 21:09:49 +11:00
Michael Dausmann
f2b3a2617d parameterise admin functions and move to store actions 2023-02-21 20:37:32 +11:00
Michael Dausmann
fbe2436231 create utility types on server - include Account with Membership - start moving account functions to store actions 2023-02-20 00:21:56 +11:00
Michael Dausmann
b3ee03b5c3 ditch useState and composables in favour of pinia store - add server rendered note detail page 2023-02-19 01:22:55 +11:00
Michael Dausmann
bb9f4dfd1d client side state for activeMembership and fetch notes based on same 2023-02-13 23:51:52 +11:00
Michael Dausmann
de976ab43b membership functions - split and compose router functions - schema changes 2023-02-08 23:14:46 +11:00
Michael Dausmann
bba070d985 introduce TRPC and service layer 2023-02-05 11:55:49 +11:00