This is a sample application of how to use the Notion API to query the database. It uses the Next.js framework with React. Follow the instructions below to set it up.
-
Clone this repository
-
Navigate into the project directory
cd notion-dev
-
Install the requirements
npm i
-
Make environment variables file
NOTION_API_KEY=
-
Run de Proyect
npm run dev