This directory contains the standalone Next.js + React frontend for SlideSpeaker. Move it to its own git repository (slide-speaker-web) to continue development alongside the API service.
pnpm install # Install dependencies (pnpm preferred)
cp .env.example .env # Provide API base URL and NextAuth secrets
pnpm dev # Run the app on http://localhost:3000- The app now exposes a Web App Manifest (
/manifest.webmanifest) plus a service worker generated bynext-pwa, so browsers can install SlideSpeaker AI as a standalone experience. - To verify install prompts locally run
pnpm build && pnpm start, then open the served HTTPS origin in Chrome/Edge and use the Install App option. - Update
NEXT_PUBLIC_APP_URLto the deployed origin so the manifest + metadata emit the correct absolute URLs in production.
NEXT_PUBLIC_API_BASE_URL– URL of the SlideSpeaker API (defaults tohttp://localhost:8000)NEXTAUTH_URL– Public URL for the web appNEXTAUTH_SECRET– Session signing secret- Optional provider keys (Google, etc.) as required by NextAuth
pnpm lint– ESLintpnpm test– Jest + React Testing Librarypnpm build– Production build
This project uses a pre-commit hook that automatically runs ESLint, TypeScript type checking, and Prettier on staged files before each commit.
The FastAPI backend remains in the root project (api/). Update .env values in this web app to point at the deployed API once the repositories are separated.