You need to define the .env file with the following data:
NOTION_KEY=secret_XXXXXXX
NOTION_DATABASE_ID=YYYYYYYYYYYY
MEDIUM_USER_ID=medium_user
SCHEDULER_CRON=* * * * * *
Launching the tool
npm install
node index.js
This is how looks like my Notion Database that I am using to import the posts:
The requirements are the following ones:
Property Name | Property Type |
---|---|
ID | Text |
URL | URL |
Name | Title |
Tags | Multi-Select |
Publication Date | Date |
- NodeJs - Environment
- @alexandrev - Idea & Initial work