Commit Graph

26 Commits

Author SHA1 Message Date
Michael Dausmann
f08f02851e privacy statement and terms of service 2023-03-26 11:09:59 +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
4959475dcc config for trial plan 2023-03-19 13:32:56 +11:00
Michael Dausmann
24f3f9d80a clean up readme because apparently people are watching the repo now 2023-03-19 12:33:24 +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
0bad37dbc7 update readme 2023-02-25 18:42:18 +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
90a1e4ef65 update readme 2023-02-08 23:17:01 +11:00
Michael Dausmann
de976ab43b membership functions - split and compose router functions - schema changes 2023-02-08 23:14:46 +11:00
Michael Dausmann
087526eb50 update readme 2023-02-05 11:57:54 +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
7246c0c5a4 move supabase to dev dependency 2023-01-28 17:02:45 +11:00
Michael Dausmann
d8e3147138 update supabase and use auth client for auth 2023-01-28 11:16:32 +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
0dbc33a145 Attempt a client side navigate post sign in 2023-01-02 17:04:04 +11:00
Michael Dausmann
4b77fe8d46 cleanup 2023-01-02 16:51:07 +11:00
Michael Dausmann
6632e707ce initial commit 2023-01-02 16:35:39 +11:00