The Road to Next - Master Full-Stack Web Development with Next.js 15 and React 19
This application uses a client - server architecture as monorepo.
- Vite
- React
- Tanstack Router
- Better-Auth
- Tanstack Query (upcoming)
- TailwindCSS
- Shadcn UI
- Comprehensive Tailwindcss Theme: C64
- Bun
- Hono
- PostgreSQL
- Prisma
- Better-Auth
- Zod (upcoming)
- Navigate to the server directory and run
bun installto install the dependencies. - Create the
.envfile and add the environment variables from the.env.examplefile.
BETTER_AUTH_SECRET=
BETTER_AUTH_URL=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
DATABASE_URL=
- Run
bun run devto start the development server.
- Navigate to the client directory and run
bun installto install the dependencies. - Run
bun run devto start the development server.
This repository is a Bun-based monorepo using Turbo to orchestrate tasks across packages.
Install dependencies at the project root and add Turbo (PowerShell examples):
bun install
bunx --bun turbo@latestExamples — run Turbo across the monorepo (PowerShell):
# build all packages matching apps/*
bunx turbo run build --filter=apps/*
# start the client app only
bunx turbo dev --filter=apps/client
# run lint and tests in parallel across the repo
bunx turbo run lint test --parallelShadcn component install (example targeted to the client app):
bunx --bun shadcn@latest add button --filter=apps/clientNotes:
- Use
--filterto target specific packages (e.g.--filter=apps/client). - Prefer
bunxorbun runto invoke binaries installed in the repo.
