aboutsummaryrefslogtreecommitdiff
path: root/examples/todo/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/todo/README.md')
-rw-r--r--examples/todo/README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/examples/todo/README.md b/examples/todo/README.md
new file mode 100644
index 0000000..b22d08b
--- /dev/null
+++ b/examples/todo/README.md
@@ -0,0 +1,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
+```