Skip to content

Full stack NextJS 14 with Supabase and Wagmi SSR Auth & PostgreSQL DB, Web3Modal, TanStack React Query, React Hook Form, Zod validation, RBAC, CRUD operations, Shadcn-UI, admin dashboard and more. Fork and get your MVP running in days.

Notifications You must be signed in to change notification settings

Quantum-One-DLT/onyx-one

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is OnyxOne?

  • OnyxOne is Onyx augmented with a scalable DApp configuration powered by a TanStack React Query and Wagmi SSR driven web3Modal integration that provides access to over 380 different web 3.0 wallets across all Ethereum virtual machine (EVM) interoperable blockchains.
  • Full stack NextJS app written in Typescript that includes role based access control (RBAC),complete Supabase SSR Auth and Postgresql db integration, Resend email server, Zod and YUP! data validation, React Hook form, Shadcn-UI, TailwindCSS and more. Fork, customize, and deploy on Vercel or elsewhere to have your MVP up and running in a few days or less. Stack details are below.

Stack

  • NextJS 14 App Router
  • Supabase
    • SSR Auth with middleware, server actions, cookies, storage, typed database browser and server clients, query helpers
    • Postgres DB
  • Web3Modal powered by Tanstack React Query and Wagmi SSR configuration
  • Resend email server
  • Admin dashboard with RBAC
  • Shadcn UI
  • React hook form
  • Tailwind CSS
  • YUP! & Zod validation
  • Lucide React

API

  • TODO

Getting started with OnyxOne:

  • First, configure your environment
    • Create a file named .env.local in project root
    • Create a Supabase account and add the following to your env file
      • NEXT_PUBLIC_SUPABASE_KEY="Your supabase anon key"
      • SUPABASE_JWT_SECRET="Your supabase JWT secret"
      • NEXT_PUBLIC_SUPABASE_URL="Your supabase project URL"
      • SUPABASE_SERVIC_ROLE_KEY="Your supabase service role key"
      • PROJECT_ID= wallectconnect project ID - get your APO key at cloud.walletconnect.com
    • Ensure your Supabase tables match the tables and types found in '@/lib/supabase'.
    • Add authorized development and production URL's to Supabase URL config.

Run

  • Development server:
npm i && npm run dev
# or
yarn i && yarn run dev
# or
pnpm i && pnpm dev
# or
bun i && bun dev

Open http://localhost:3000 with your browser to see the result.

Deploy on Vercel

Deploy with Vercel

Reference/Credit

  • @chensokheng

About

Full stack NextJS 14 with Supabase and Wagmi SSR Auth & PostgreSQL DB, Web3Modal, TanStack React Query, React Hook Form, Zod validation, RBAC, CRUD operations, Shadcn-UI, admin dashboard and more. Fork and get your MVP running in days.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 60.7%
  • MDX 37.1%
  • JavaScript 1.4%
  • CSS 0.8%