Skip to content

A mobile and/or web boilerplate that covers all your MVP needs

License

Notifications You must be signed in to change notification settings

devtodollars/mvp-boilerplate

Folders and files

NameName
Last commit message
Last commit date
Sep 3, 2024
Jan 24, 2025
Aug 4, 2024
Jan 3, 2025
Oct 29, 2024
Oct 11, 2024
Sep 3, 2024
Feb 27, 2024
Feb 27, 2024
Feb 20, 2024
Oct 28, 2024

Repository files navigation

Production MVP Boilerplate

What's Included:

Mobile / Desktop / Web App (Flutter)

Landing Page / Web App (NextJS)

  • App Router
  • Typescript
  • Payments with Stripe
  • Authentication with Supabase
  • 🚧 Landing Page Template 🚧

Backend (Supabase)

  • Authentication
  • Email + PW
  • SSO (Google, Github, etc.)
  • Fully configured for local development from day one
  • 🚧 backend tests 🚧
  • Test

Analytics (Posthog)

  • Unified analytics across frontend and backend based on user_id
    • Frontend analytics comes pre-installed for iOS, Android, Web, and MacOS
    • Backend analytics installed and linked to frontend analytics
  • Basic events captured:
    • user signs in
    • user signs up
    • user deletes account
    • user starts checkout
    • user opens billing portal
    • user completes checkout

Payments (Stripe)

  • Stripe fully setup and works with one-time payments and subscriptions
    • stripe table to store stripe_customer_id and current active_products
    • Stripe webhook to sync user subscriptions from stripe to supabase
    • Deno function to retrieve the billing portal url or a checkout session url which works with the payments_screen

Release (Github Actions)

  • Script to bumpversion.sh following semantic versioning
  • Deploys a web preview on Netlify for every PR
  • Publishing pipeline to publish to Netlify and to publish supabase functions
  • 🚧 Automated Mobile Publishing 🚧

Emails (Postmark)

  • Send transactional emails
  • DNS setup to avoid spam folder (DKIM, DMARC, SPF in subdomain)
  • Simplify email updates by using postmark templates

🚧 Error Monitoring (Sentry) 🚧