A modern Next.js application with PocketBase backend, designed for containerized deployment.
- Frontend: Next.js 16 with React 19, TypeScript, and Tailwind CSS
- Backend: PocketBase (database and filesystem layer)
- Deployment: Docker and Docker Compose
- Start the application stack:
docker-compose up --buildThis will start:
- Next.js app at http://localhost:3000
- PocketBase at http://localhost:8090
- Access PocketBase admin UI at http://localhost:8090/_/
- Install dependencies:
npm install- Start PocketBase (download from https://pocketbase.io/docs/):
./pocketbase serve- Start the development server:
npm run devsprint-ui/
├── app/ # Next.js app directory
├── lib/ # Shared utilities (PocketBase client, etc.)
├── public/ # Static assets
├── pb_data/ # PocketBase data (gitignored)
├── pb_migrations/ # PocketBase migrations
└── docker-compose.yml
Copy .env.example to .env.local and configure:
NEXT_PUBLIC_POCKETBASE_URL=http://localhost:8090