This is an simple example of creating a CMS site using Next.js 14 and notion database.
- make a .env file from .env.example with your credentials:
NOTION TOKEN="NOTION INTEGRATION TOKEN"
NOTION_DATABASE_ID="YOUR NOTION DATABASE ID"
- run the development server:
pnpm devOpen http://localhost:3000 with your browser to see the result. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Inter, a custom Google Font.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out Next.js deployment documentation for more details.