app
fix: extract and normalize project links from initialization guidecomponents
fix: improve layout and responsiveness of profile and projects pageshooks
frontend startedlib
fix: remove console logs from API fetch and seedAdmin scriptsprisma
add requirements and update comment and like models in Prisma schemapublic
frontend startedscripts
fix: remove console logs from API fetch and seedAdmin scriptstypes
frontend started.eslintrc.json
frontend started.gitignore
frontend startedeslint.config.mjs
frontend startednext.config.ts
frontend startedpackage-lock.json
darkmode btn removedpackage.json
darkmode btn removedpostcss.config.mjs
frontend startedREADME.md
darkmode btn removedtsconfig.json
frontend startedvercel.json
darkmode btn removedFrontend
This is a Next.js project bootstrapped with create-next-app.
Getting Started
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
Learn More
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
Deploy on Vercel
Set the Vercel project Root Directory to frontend.
Required environment variables:
NEXTAUTH_URL=https://your-frontend-domain.vercel.app
NEXTAUTH_SECRET=your-random-secret
JWT_SECRET=your-random-secret
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
DATABASE_URL=postgresql://USER:PASSWORD@HOST/DATABASE?sslmode=require
DIRECT_URL=postgresql://USER:PASSWORD@HOST/DATABASE?sslmode=require
NEXT_PUBLIC_API_URL=https://your-python-backend-domain/api
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=optional
NEXT_PUBLIC_CLOUDINARY_UPLOAD_PRESET=optionalNotes:
DATABASE_URLis used by Prisma at runtime.DIRECT_URLshould point to the same Neon/Postgres database. If you only have one Neon connection string, use it for both.NEXT_PUBLIC_API_URLmust target the deployed Python backend, not localhost.- Add the Vercel domain to your Google OAuth allowed redirect URLs.
Build settings:
- Install Command:
npm install - Build Command:
npm run build - Output Directory: leave empty for Next.js
This frontend already runs prisma generate during install via postinstall.
For more details, see frontend/.env.example.