AI-Powered Note-Taking App with Next.js 15 + ChatGPT
- AI-Powered Notes: Summarize, expand, or ask questions about your notes using ChatGPT.
- Next.js 15 App Router: Fast, SEO-friendly routing with React Server Components.
- Secure Auth: Supabase authentication with email/password + OAuth.
- Real-Time DB: PostgreSQL managed via Prisma ORM with type safety.
- Modern UI: Shadcn components with dark/light mode toggle.
| Layer | Technologies Used |
|---|---|
| Frontend | Next.js 15 (App Router), TypeScript, Tailwind, Shadcn |
| Backend | Next.js API Routes, Supabase Auth, Prisma ORM |
| AI | OpenAI API (ChatGPT-4) |
| Database | PostgreSQL (Supabase) |
| Deployment | Vercel (Edge Runtime) |
-
Clone the repo:
git clone https://github.com/ryanhui30/goat-notes.git cd goat-notes -
Install dependencies:
npm install-
Configure environment variables:
- Duplicate
.env.exampleas.env - Add your:
NEXT_PUBLIC_SUPABASE_URLSUPABASE_SERVICE_ROLE_KEYOPENAI_API_KEY
- Duplicate
-
Database Setup:
npx prisma generate && npx prisma db push- Run locally:
npm run dev📩 Contact: [email protected] | 🔗 Portfolio: https://ryanhui-portfolio.vercel.app/