.cursor
working realtimepublic
more nitssrc
nits.gitignore
Initial commit from Create Next Appbun.lock
better publishing feedbackcomponents.json
add boilerplate pageseslint.config.mjs
Initial commit from Create Next AppFRICTION-LOG.md
auto scrollnext.config.ts
work in flowpackage.json
better publishing feedbackpostcss.config.mjs
Initial commit from Create Next AppREADME.md
add boilerplate pagestsconfig.json
Initial commit from Create Next AppPechakucha Project
A Next.js project with Supabase, Tailwind CSS v4, ESLint, and Bun package manager.
Tech Stack
- Next.js 15 - React framework with App Router
- Supabase - Backend as a Service (BaaS)
- Tailwind CSS v4 - Utility-first CSS framework
- ESLint - Code linting and formatting
- Bun - Fast package manager and runtime
- TypeScript - Type-safe JavaScript
Getting Started
Prerequisites
- Bun installed on your system
- A Supabase project (create one at supabase.com)
Installation
- Clone the repository:
git clone <your-repo-url>
cd pechakucha- Install dependencies:
bun install- Set up environment variables:
cp .env.local.example .env.local- Configure your Supabase credentials in
.env.local:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key- Run the development server:
bun devOpen http://localhost:3000 with your browser to see the result.
Project Structure
pechakucha/
├── src/
│ ├── app/ # Next.js App Router pages
│ ├── lib/
│ │ └── supabase/ # Supabase client configurations
│ │ ├── client.ts # Browser client
│ │ ├── server.ts # Server client
│ │ └── middleware.ts # Middleware helper
│ └── middleware.ts # Next.js middleware
├── .env.local # Environment variables
└── package.json # Dependencies and scriptsAvailable Scripts
bun dev- Start development serverbun build- Build for productionbun start- Start production serverbun lint- Run ESLint
Supabase Integration
This project includes:
- Client-side Supabase client (
src/lib/supabase/client.ts) - Server-side Supabase client (
src/lib/supabase/server.ts) - Middleware for authentication (
src/middleware.ts) - Example usage in the main page component