Create table with next columns:
- Task (title)
- Area (select)
- Activities (select)
- Minutes (number)
- Hours (formula based on minutes) (optional)
- ... (optional)
- Go to notion developers website and create new integration. Copy secret key.
- Copy database id
Create and fill .env
cp .env.sample .env
# .env
DATABASE_ID=<datablase id>
NOTION_SECRET_KEY=<your secret key>
yarn
yarn build
# start
./bin/run task activity="Activity name" area="Area name"
#...time...
# stop
./bin/run task activity="Activity name" area="Area name"