Welcome to my personal blog built with NextJS, Notion API, and Tailwind CSS!
- Built with Next.js, TypeScript, Tailwind CSS, and Jotai
- Supports responsive design
- Quickly configurable with the
site.config.ts
file - Supports infinite scrolling
- Fetches posts from Notion DB using Notion API
- Allows post updates without redeployment using Next.js Revalidate when Notion DB changes
- Image thumbnail previews using the
lqip-modern
library - Commenting feature with Giscus
-
Clone the repository:
git clone https://github.com/yourusername/your-repo-name.git
-
Navigate to the project directory:
cd your-repo-name
-
Install the dependencies:
yarn
-
Set up the environment variables. Create a .env.local file and add your Notion API key and database ID:
NOTION_TOKEN=your_notion_token NOTION_POST_DATABASE_ID=your_notion_post_id NOTION_ABOUT_ID=about_your_notion_about_id BLOG_URL=your_blog_addr // ex: https://binary01.me
-
Run the development server:
yarn dev
-
Open your browser and visit http://localhost:3000 to see the blog in action.
MIT © Lee Jinsoo