Skip to content

starmode-base/template-tanstack-start

Repository files navigation

New dawn app template

https://app-template.starmode.dev/

Configure services

Placeholder project name (for simple search and replace): new-dawn

Configure Vercel Serverless

  1. Go to https://vercel.com/
  2. Click Add New...Project
  3. Pick new-dawn from the list → Import
  4. Click Deploy

Configure Vercel Analytics

  1. Enable Web Analytics

Configure Neon

Make sure you have installed the Vercel integration. Select the Link Existing Neon Account, not the Create New Neon Account.

IMPORTANT: Use the Neon-Managed Integration, not the Vercel-Managed Integration.

  1. Go to https://console.neon.tech/
  2. Click New project
  3. Pick a name and click Create
  4. Go to IntegrationsVercel
  5. Select Vercel project

Configure neon-testing

  1. Create a Neon API key
  2. Save the API key as NEON_API_KEY in Vercel Environment Variables
  3. Find your Neon Project ID
  4. Save the Project ID as NEON_PROJECT_ID in Vercel Environment Variables

Configure Clerk

  1. Go to https://dashboard.clerk.com/apps/new
  2. After creating the Clerk application, find the correct environment variables here https://clerk.com/docs/quickstarts/tanstack-react-start#set-your-clerk-api-keys
  3. Copy the Clerk environment variables to Vercel Environment Variables
  4. Customize session token, go to ConfigureSessions, and set Claims to:
    {
      "email": "{{user.primary_email_address}}"
    }

Contributing

Prerequisites

  1. Install Node.js (v24.x) using NVM
  2. Install Bun
  3. Clone the git repo
  4. Install dependencies: bun install
  5. Link the Vercel project, to be able to pull development environment variables from Vercel: bunx vercel link
    • Set up “~/starmode-base/new-dawn”? yes
    • Which scope should contain your project? STAR MODE
    • Found project “starmode/new-dawn”. Link to it? yes
    • ✅ Linked to starmode/new-dawn (created .vercel)

Local development

  1. Pull development environment variables from Vercel: bun env:pull
  2. Install dependencies: bun install
  3. Start the app in development mode: bun dev

Devops

Configured tools

Quality

Releases

No releases published

Packages

 
 
 

Contributors