29 Commits

Author SHA1 Message Date
austinkelsay
bde5e117cf Consolidate user fields, differentiate platform lightning address and nip05, fix millisats on lightning address, small user management and signup ux fixes 2025-02-17 12:50:32 -06:00
austinkelsay
991a732f4e
Super commit - repo selection for course submission, course submission required field, course submission link field, badge issuance flow fixed 2025-01-03 11:59:30 -06:00
austinkelsay
5e579614d7
migration to not require badges be linked to course, fixed in flow, testing out real plebdevs badges 2025-01-03 11:59:29 -06:00
austinkelsay
12defee451
Added badges to schema, added badges models, same for userbadges, added basic hardcoded ui for badges 2025-01-03 11:59:27 -06:00
austinkelsay
67ea5f523e
Allow simple edits of published courses, add cascade delete to userlessons to make this course update cleaner 2024-12-03 12:48:17 -06:00
austinkelsay
50eea8f872 Unique purchases 2024-10-12 13:17:01 -05:00
austinkelsay
39ea9c2651 Update init migration to include nip05 and lnaddress 2024-09-30 15:39:05 -05:00
austinkelsay
ca77e2674f Fix duplicate purchases bug 2024-09-24 09:36:28 -05:00
austinkelsay
96a6a29936 Created userCourse model, added endpoints, added basic useTrackcourse hook 2024-09-21 16:50:59 -05:00
austinkelsay
f7bbf93f95 video lesson tracking for courses, new userlesson table, also github experiment 2024-09-19 15:38:36 -05:00
austinkelsay
14b62b3f4a Checking for admin, subscribed, or purchased videoId in get video endpoint 2024-09-09 17:35:00 -05:00
austinkelsay
9528010829 Email login is working 2024-09-06 12:32:23 -05:00
austinkelsay
e69d974ad7 Added basic cron job, endpoint, and vercel setup just wrong intervals right now, also added admin and subscriptionExpiredAt into Role schema so I can show user a special message after their subscription expired 2024-09-01 12:40:25 -05:00
austinkelsay
c8870bc1ff pay as you go subscriptions working and recurring subscriptions flow is halfway done, had to change schema. 2024-08-30 19:37:13 -05:00
austinkelsay
61a78f4b28 Course publishing works for free, paid, drafts, published and any combination of them 2024-08-25 12:12:55 -05:00
austinkelsay
347ca659d3 Add additional links to drafts and published resources, updated forms and rendering accordingly 2024-08-24 17:10:00 -05:00
austinkelsay
128234c7ad Huge update with lessons and draftLessons and refactoring course forms, models, and api endpoints to account for these changes 2024-08-23 20:21:29 -05:00
austinkelsay
e212f2f4f0 relation between drafts and courseDrafts 2024-08-21 22:33:19 -05:00
austinkelsay
8555895617 New course form started, fixed usDraftsQuery to only grab drafts and not coursedrafts 2024-08-21 22:03:49 -05:00
austinkelsay
d1c121e6e8 Allow both drafts and published resources to make it into course draft, seperated selectedContentItem in course form into its own component 2024-08-18 14:45:51 -05:00
austinkelsay
b8b10907bb Improved draftCourses schema and relations, can publish draft course in new schema, can edit draft course and lessons 2024-08-16 11:40:50 -05:00
austinkelsay
b953b76785 A lotta good stuff 2024-08-09 14:28:57 -05:00
austinkelsay
aca8c6ee82 Starting on drafts flow, updating forms, updating db, some small ui fixes 2024-03-25 13:39:32 -05:00
austinkelsay
3113a9d0ee Recreate schema to pass in uuid for courses/resources upfront, starting publishing classified, fixed nostr publishing 2024-03-20 19:42:28 -05:00
austinkelsay
0e6c2c7e25 Update schema to allow users to post resources/workshops 2024-03-20 12:59:24 -05:00
austinkelsay
6f398f2026 Simplify prisma schema, only store needed fields from nostr events 2024-03-14 12:40:12 -05:00
austinkelsay
6f63062a2e Course and Resource now have prie to determine if paid or not 2024-02-11 20:34:27 -06:00
austinkelsay
595c553dd2 Full login /signup flow working, basic profile page and user avatar, pulling in resources from nostr and rendering 2024-02-11 16:26:33 -06:00
austinkelsay
1f9d76d783 Nostr login flow 2024-02-11 00:00:27 -06:00