A Next.js 14 application delivering the creator β upload β library β play loop with authentication, Prisma/Postgres, S3-compatible storage, search, and analytics.β
Getting started
Install dependencies
pnpm install
Copy the environment template and fill in values
cp .env.example .env
Populate .env with your database connection, NextAuth secrets, and S3-compatible storage credentials.
Apply database schema and seed demo data
pnpm exec prisma migrate deploy
pnpm exec prisma db seed
Run the development server
pnpm run dev
Visit http://localhost:3000.
Available scripts
pnpm run dev β start Next.js in development mode.
pnpm run build β create a production build.
pnpm run start β run the production build.
pnpm run lint β run ESLint.
pnpm run test β execute Vitest unit tests.
pnpm run test:e2e β run Playwright end-to-end tests.
pnpm run prisma:migrate β deploy Prisma migrations.
pnpm run prisma:generate β regenerate the Prisma Client.
pnpm run prisma:seed β seed the database.
Project structure
src/app β Next.js app router pages and API routes.
src/components β UI and interactive components.
src/lib β utilities (Prisma client, auth, search helpers, storβ¦