Skip to content

Updeus/Nextjs-Skeleton

Repository files navigation

{{APP_NAME}}

Reusable Next.js 16 + TypeScript template for launching new web apps with a secure default baseline.

Canonical URL placeholder: {{CANONICAL_URL}}

Quickstart

npm i
npm run init:template
npm run dev

Run baseline checks:

npm run lint
npm test
npm run build:secure

Environment Variables

Minimal required for local development: none.

Optional default values live in .env.example:

  • NEXT_PUBLIC_SITE_URL for canonical/metadata URLs
  • NEXT_PUBLIC_FEATURE_* flags for enabling optional feature surfaces
  • Integration secrets only when turning on related features

Optional Integrations

Integrations are included as optional modules behind feature flags:

  • Supabase (SUPABASE feature)
  • Turnstile (TURNSTILE feature)
  • Upstash rate limiting (UPSTASH feature)
  • Vercel Analytics (NEXT_PUBLIC_VERCEL_ANALYTICS_ENABLED=1)

Deploy Notes

  • In CI/deploy, set NEXT_PUBLIC_SITE_URL (or SITE_URL) to your production canonical URL.
  • build:secure enforces no sourcemaps in build artifacts and checks for server-env leakage.
  • Keep public feature flags disabled by default; enable per app needs.

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors