MCPcopy
hub / github.com/mckaywrigley/mckays-app-template

github.com/mckaywrigley/mckays-app-template @main sqlite

repository ↗ · DeepWiki ↗
153 symbols 427 edges 74 files 0 documented · 0%
README

Mckay's App Template

This is a full-stack app template that I use to build my own apps.

To learn how to use this template with the best AI tools & workflows, check out my workshops on Takeoff!

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
DATABASE_URL=
# Access Supabase Studio here: http://127.0.0.1:54323/project/default

# Clerk
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/login # do not change
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/signup # do not change

# Stripe
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=
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

Extension points exported contracts — how you extend this code

MarkdownProps (Interface)
(no doc)
components/utility/markdown.tsx
PricingButtonProps (Interface)
(no doc)
components/payments/pricing-button.tsx
ScrollIndicatorProps (Interface)
(no doc)
app/(unauthenticated)/(marketing)/_components/scroll-indicator.tsx
HeaderProps (Interface)
(no doc)
app/(unauthenticated)/(marketing)/_components/header.tsx
SectionWrapperProps (Interface)
(no doc)
app/(unauthenticated)/(marketing)/_components/sections/section-wrapper.tsx

Core symbols most depended-on inside this repo

cn
called by 59
lib/utils.ts
useSidebar
called by 7
components/ui/sidebar.tsx
getCustomerByUserId
called by 3
actions/customers.ts
getSubscription
called by 2
actions/stripe.ts
manageSubscriptionStatusChange
called by 2
actions/stripe.ts
createCheckoutUrl
called by 2
actions/stripe.ts
updateCustomerByUserId
called by 2
actions/customers.ts
getInitials
called by 2
app/(authenticated)/dashboard/_components/nav-user.tsx

Shape

Function 148
Interface 5

Languages

TypeScript100%

Modules by API surface

components/ui/sidebar.tsx25 symbols
components/ui/dropdown-menu.tsx15 symbols
components/ui/sheet.tsx10 symbols
components/ui/breadcrumb.tsx7 symbols
actions/stripe.ts5 symbols
actions/customers.ts5 symbols
components/ui/tooltip.tsx4 symbols
app/(unauthenticated)/(marketing)/_components/scroll-indicator.tsx4 symbols
components/ui/collapsible.tsx3 symbols
components/ui/avatar.tsx3 symbols
components/payments/pricing-button.tsx3 symbols
app/api/stripe/webhooks/route.ts3 symbols

Dependencies from manifests, versioned

@clerk/backend1.34.0 · 1×
@clerk/nextjs6.20.2 · 1×
@clerk/themes2.2.48 · 1×
@eslint/eslintrc3 · 1×
@playwright/test1.52.0 · 1×
@radix-ui/react-avatar1.1.10 · 1×
@radix-ui/react-collapsible1.1.11 · 1×
@radix-ui/react-dialog1.1.14 · 1×
@radix-ui/react-dropdown-menu2.1.15 · 1×
@radix-ui/react-label2.1.7 · 1×
@radix-ui/react-separator1.1.7 · 1×
@radix-ui/react-slot1.2.3 · 1×

For agents

$ claude mcp add mckays-app-template \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact