brrock / techblog

notioncms

Home Page:https://techblog.benjyross.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a Next.js blog powered by Notion This is also my primary blog and is getting loads of updates soon.

Getting Started for forkers

Create a Notion database with the following fields.

  • Name - The title of the blog post.
  • Slug - The URL of a post.
  • Description - A list of users that wrote the post.
  • Tags - The URL of the meta image for a post
  • Published - Indicates whether the post is published or not. Only the published posts will be displayed on the blog.
  • Date- The date the post was published

Follow Notion's getting started guide to get a NOTION_TOKEN and a NOTION_DATABASE_ID, then add them to the .env file.

NOTION_TOKEN=
DATABASE_ID=

Here is a sample Notion database you can duplicate.

Run the development server:

npm run dev
# or
yarn dev

About

notioncms

https://techblog.benjyross.xyz


Languages

Language:CSS 72.5%Language:JavaScript 27.5%