https://github.com/hovanhoa/personal-blog
✨ My portfolio built with Next.js and Vercel.
https://github.com/hovanhoa/personal-blog
nextjs vercel
Last synced: 5 months ago
JSON representation
✨ My portfolio built with Next.js and Vercel.
- Host: GitHub
- URL: https://github.com/hovanhoa/personal-blog
- Owner: hovanhoa
- License: mit
- Created: 2023-08-12T10:20:48.000Z (almost 3 years ago)
- Default Branch: release/v1.0.0
- Last Pushed: 2024-11-30T08:27:39.000Z (over 1 year ago)
- Last Synced: 2024-11-30T09:26:09.139Z (over 1 year ago)
- Topics: nextjs, vercel
- Language: JavaScript
- Homepage: https://hovanhoa.vercel.app
- Size: 12.2 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
This is a [Next.js](https://nextjs.org/) blog using [Notions Public API](https://developers.notion.com).
__Demo:__ [https://hovanhoa.vercel.app](https://hovanhoa.vercel.app)
## Getting Started
First, follow Notions [getting started guide](https://developers.notion.com/docs/getting-started) to get a `NOTION_TOKEN` and a `NOTION_DATABASE_ID`, then add them to a file called `.env.local`.
As a reference here's the Notion table I am using: [notion](https://hovanhoa.notion.site/555bbd5c205a4b009fd5c5f563719ac6?v=6694128321844c41b9b1e398eafbe661&pvs=25)
```
NOTION_TOKEN=
NOTION_DATABASE_ID=
```
Install dependencies
```bash
npm install
# or
yarn
```
Start the server with
```bash
npm run dev
# or
yarn dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
#### Deploy to vercel
[](https://vercel.com/)