The kickass template for building full stack AI apps with Next.js.
Clone the repository:
git clone https://github.com/terrytjw/next-gen-template.git
Install dependencies:
bun i
Populate env variables in .env.local
file. See .env.example
for reference.
cp .env.example .env.local
Set up your own Supabase postgresDB at https://supabase.com/dashboard/projects
Run the following command to push the schema to the database:
bun update-db
Schema file can be found in /lib/db/schema.ts
directory.
Run the development server:
bun dev
Open http://localhost:3000 with your browser to see the result.
Run the following command to view the tables:
bun studio
- Next.js (TypeScript) - Fullstack React framework
- Tailwind CSS (shadcn/ui) - Styling library
- React Query - Data fetching & Async state management
- Supabase Auth - Managed Authentication
- DrizzleORM - ORM
- Supabase PostgresDB - Database
- Vercel AI SDK
- LangChain TS