aboutsummaryrefslogtreecommitdiff
path: root/examples/todo/README.md
blob: b22d08b042177c02878e56f64ddb1b4f4f353a83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Notion database todo example

This example is builds a todo list using a notion database.

## Setup your notion api token

Create an `internal` integration here: https://www.notion.so/my-integrations

```bash
  export NOTION_API_TOKEN='secret_token_here'
```
> Notice the space before the export command. 
> This will prevent your terminal from storing this token in your shell history...

## Selecting the database to use

```bash
cargo run --example todo -- config
```