onyx  by rmourey26

Full-stack Next.js 14 PWA template for rapid MVP development

Created 2 years ago
251 stars

Top 99.9% on SourcePulse

GitHubView on GitHub
Project Summary

A turnkey, full-stack Next.js 14 progressive web app template designed for rapid MVP development. It targets developers needing a pre-configured, scalable foundation with robust authentication, database integration, and modern UI components, enabling deployment on Vercel within days.

How It Works

This template utilizes the Next.js 14 App Router with TypeScript, integrating Supabase for Server-Side Rendering (SSR) authentication (including email/password, OAuth, PKCE) and PostgreSQL database operations. It features a Rust runtime for Vercel serverless functions, offering enhanced performance. The architecture emphasizes developer experience with Zod for validation, React Hook Form, TanStack React Query, and Shadcn-UI, streamlining the creation of complex applications.

Quick Start & Requirements

  • Install/Run: Execute npm i && npm run dev (or yarn/pnpm/bun equivalents).
  • Prerequisites: A Supabase account is required, along with configuring .env.local with NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_JWT_SECRET, NEXT_PUBLIC_SUPABASE_URL, and SUPABASE_SERVIC_ROLE_KEY. Ensure Supabase tables match the schema in @/lib/supabase and authorized redirect URLs are set.
  • Deployment: Vercel is the primary target, but deployment elsewhere is supported.
  • Links: No specific quick-start or demo links were provided in the README.

Highlighted Details

  • Next.js 14 App Router with TypeScript and Next-PWA support.
  • Comprehensive Supabase SSR Auth (email/password, OAuth) and typed DB clients with configured CRUD functions.
  • Role-Based Access Control (RBAC) and an Admin Dashboard featuring data visualization and user management.
  • Rust runtime for optimized Vercel Serverless Functions and API endpoints.
  • Integrated Zod validation, TanStack React Query, and React Hook Form.
  • Shadcn-UI, Radix-UI primitives, and Tailwind CSS for a modern, accessible UI.
  • Markdown pages (.mdx) support, allowing React components within content.
  • OpenAI playground UI included.
  • Achieves an 'A' Security Headers Score.

Maintenance & Community

  • The provided README content does not detail specific contributors, sponsorships, community channels (e.g., Discord, Slack), or a public roadmap.

Licensing & Compatibility

  • The license type is not explicitly stated in the provided README content. Compatibility for commercial use is therefore undetermined.

Limitations & Caveats

  • The template is not pre-configured for Material UI (MUI) or MUI Base X integration with TailwindCSS. Manual setup of Supabase environment variables and database schema synchronization is necessary.
Health Check
Last Commit

5 days ago

Responsiveness

Inactive

Pull Requests (30d)
2
Issues (30d)
0
Star History
3 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.