ggarza5 / startup-boilerplate

Home Page:https://devtodollars.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Production Boilerplate for Startups

Community: Join Discord

Getting Started

Choose Flutter or NextJS

  • Choose Flutter if you plan to build or expand into cross-platform apps (e.g. Duolingo, Fitbit, Spotify, Tinder, etc.)
  • Choose NextJS if SEO, page load speeds, and web-specific libraries are integral to your app (e.g. Shopify, Medium, etc.)

Additionally, it's also possible to start with one-platform and move onto the next one depending on your needs. For example, start with Next.JS and then move to Flutter when a mobile app is needed. Both are configured to work straight out of the box.

What's Included:

Frontend (Flutter or NextJS)

Backend (Supabase)

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

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)

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) 🚧

TODO: based on demand.

About

https://devtodollars.com

License:MIT License


Languages

Language:TypeScript 51.6%Language:Dart 14.0%Language:C++ 12.6%Language:CMake 10.3%Language:PLpgSQL 3.9%Language:CSS 1.7%Language:HTML 1.6%Language:Ruby 1.5%Language:Swift 1.2%Language:C 0.8%Language:JavaScript 0.6%Language:Shell 0.3%Language:Kotlin 0.1%Language:Objective-C 0.0%