Back to all Bounties
Earn 50,040 ($500.40)
due 2 years ago
Canceled
Add authentication and stripe support to nextjs web app
juancaruiz
Details
Applications
4
Discussion
Bounty Description
Acceptance Criteria
Features to be implemented to web app:
Authentication:
- full authentication implementation with Supabase and its tooling (DB, APIs, Auth, etc)
- Create user management tables in supabase postgres database
- Sign up - users with Google provider, email/phone number/password (bonus points for added magic link auth). Must send email verification and phone number verification message (twillio) for users to proceed at first sign up. (layout already built)
- Sign up onboarding - when the user first signs up, they are directed to an onboarding page with 6 questions (given), questions/answers to be recorded in database linked to the user - styling/layout not required
- Sign in - users with Google, email/password (bonus points for magic link auth) (layout already built)
- Implement app-wide protected routes.
Stripe implementation:
- Full stripe implementation - stripe plan creation, database tables creation, webhooks, user checkout, etc.
- create 3 custom plans with monthly and yearly subscriptions
- Add user account limits based on stripe plan:
- Free plan - 3,000 word generations per month limit
- Pro plan - 30,000 word generations per month limit
- magic plan - 1,000,000 word generations per month limit
- Device limit based on plan per account
- Track the devices a user is signed in
- free plan - user can be signed in on 1 device only
- pro plan - 2 devices
- magic plan - 3 devices
- Track the devices a user is signed in
All code must be production ready, able to be deployed to Vercel
Tech Stack
- NextJS
- Typescript
- Tailwind
- Supabase with native tooling (postgres db, api's, authentication)
Requirements
- Previous experience with tech stack, authentication, and stripe
- Example projects in the application will be given priority
- Will tip extra if completed before deadline