7 lines
228 B
Markdown
7 lines
228 B
Markdown
# `.env` requirements
|
|
- `NOTION_API_KEY`: Go to the notion developer portal
|
|
- `NOTION_DATABASE_ID`: the database that the api will read from
|
|
|
|
# API usage:
|
|
`/`: lists all the posts,
|
|
`/<blogId>` gets the posts details and markdown |