mckaywrigley / mckays-app-template

Come join the best place on the internet to learn AI skills. Use code "mckaysapptemplate" for an extra 20% off.
https://JoinTakeoff.com/
MIT License
218 stars 53 forks source link

Mckay's App Template

This is a full-stack app template for courses on Takeoff.

Sponsors

If you are interested in sponsoring my repos, please contact me at ads@takeoffai.org.

Or sponsor me directly on GitHub Sponsors.

Tech Stack

Prerequisites

You will need accounts for the following services.

They all have free plans that you can use to get started.

You will likely not need paid plans unless you are building a business.

Environment Variables

# DB (Supabase)
DATABASE_URL=

# Auth (Clerk)
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/login
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/signup

# Payments (Stripe)
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=
NEXT_PUBLIC_STRIPE_PORTAL_LINK=
NEXT_PUBLIC_STRIPE_PAYMENT_LINK_YEARLY=
NEXT_PUBLIC_STRIPE_PAYMENT_LINK_MONTHLY=

Setup

  1. Clone the repository
  2. Copy .env.example to .env.local and fill in the environment variables from above
  3. Run npm install to install dependencies
  4. Run npm run dev to run the app locally