A personal project developing todo-list automations for my personal list. It utilizes cron jobs in order to schedule Node.js scripts to get data from my list and update it.
- Node.js (24.x)
- Notion account
- Notion database with integrations set up
$ git clone https://github.com/Kettelcorn/todo-list-functions.git
$ cd todo-list-functions
$ npm install
Inside the root directory of the project, create a .env file with the following values
NOTION_TOKEN=
DATA_SOURCE=
TEST_DATA_SOURCE=
NODE_ENV=
- Notion Token: Internal integration secret that is connected to your database
- Data Source: The id for your database's datasource
- Test Data Source: The id for your test database's datasource
- Node env: Used to indicate if in development or production environments, either 'development' or 'production'
$ npm run dev
$ npm run prod