Commit Graph

14 Commits

Author SHA1 Message Date
Michael Dausmann
f2bbe8596a refactor and restructure pinia store and trpc routers + add members list to account store 2023-04-05 00:28:30 +10: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
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
Michael Dausmann
791192a1ae WIP for Prisma integration and account and membership schema 2023-01-29 01:06:01 +11:00
Michael Dausmann
d19b713f25 Simplify everything to match supabase example and also downgrade supabase 2023-01-28 11:01:57 +11:00
Michael Dausmann
edd65f1301 Horrible redirect kludge to fix login flow, tidy up and readme 2023-01-02 20:53:04 +11:00
Michael Dausmann
6632e707ce initial commit 2023-01-02 16:35:39 +11:00