The homepage of @nekoze1210
You can check out my personal biography and resume.
You can read my posts.
- Install dependencies:
npm install
# or
yarn
- Rename .env.example to .env.[local | development | production]:
mv .env.example .env.local
- Enable Notion API and create Integration with your Notion Database: 1
- Replace example env variables your Notion's Database ID and API Token with example ID and token (e.g. xxxxxxx....)
...
NOTION_TOKEN=Your Notion API Token
NOTION_DATABASE_ID=Your Notion Database ID
SITE_URL=Your Website URL
...
- Run the Next.js development server:
npm run dev
# or
yarn dev
Open http:https://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.
Take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
- Notion API Reference - learn about Notion API
- Notion API Changelog - a changelog of Notion API
- Notion API Client - an official Notion JavaScript SDK
Use Vercel CLI to deploy:
# Build static pages
npm run build
## or
yarn build
# Deploy on Vercel
vercel
Footnotes
-
My blog uses Notion API as CMS ↩