Build a basic note-taking app with Next.js 13 and Pocketbase.
-
Create a new Next.js app:
npx create-next-app@latest --ts
-
Locate the provided Pocketbase executables or Download Pocketbase from pocketbase.io
-
Navigate to the unzipped directory that suites your OS
cd linux_pocket
orcd windows_pocket
orcd macOS_pocket
orcd macOS_pocket_ARM
-
Start Pocketbase:
./pocketbase serve
-
Open the Admin UI, create collection, and update security rules to allow read/write access.
-
Add
experimental: { appDir: true }
tonext.config.js