Build a simple notes app with Nextjs 13 and Pocketbase.
- Create a new Next.js app:
npx create-next-app@latest --ts
- Download Pocketbase from pocketbase.io
- Unzippe your packet and navigate inside
cd pocketbase[version]
- Start Pocketbase:
./pocketbase serve
- Open the Admin UI, create collection, and update security rules to allow read/write access.
- Change
ReactStrictMode
tofalse
and addexperimental: { appDir: true }
tonext.config.js
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.