Skip to content

minime89-maker/next.js-notion-blog

Repository files navigation

Notion Blog

This is a blog built with Next.js using Notion's API and TailwindCSS.

How to use

To obtain a token and the database id please visit the Notion Getting Started Guide.

Create a file called .env.local in the root of the project and add the following lines:

NOTION_TOKEN=<your token>
NOTION_DATABASE_ID=<your database id>

Install dependencies

npm install
# or
yarn

Start the server with

npm run dev
# or
yarn dev

Go to http://localhost:3000.

Deploy on Vercel

The easiest way to deploy your Next.js app is to use Vercel.

Deploy with Vercel

Credits

Thanks to leerob and the samuelkraft for insipration.

About

💫 Blog build with Next.js, Notion's API, Tailwind CSS and Vercel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published