🦄 Updating status and progress for pages in Notion database from Monobank jars
To install the project locally, follow these steps:
- Clone the repository
- Install dependencies with
yarn install
- Create a Notion API key at https://www.notion.com/my-integrations
- Create a new Notion database with columns for donation name, charity organization, and donation amount.
- Share the database with the Notion API integration.
- Create a
.env
file in the root of the project and add the following values:
NOTION_API_KEY=<your-notion-api-key>
DATABASE_ID=<your-database-id>
CRON_EXPRESSION="*/1 * * * *"
- Start the development server with
yarn start
Use export RUN_SYNC_ON_START=true for start sync immediately
To use Notion Donation, go to https://notion-donation.herokuapp.com/ and select a charity that you want to donate to. You can then enter the details of your donation and submit it. Your donation will be added to the Notion database and you'll receive a confirmation message.
To run tests for Notion Donation, use the following command:
yarn test
If you'd like to contribute to Notion Donation, please fork the repository and make your changes in a new branch. When you're ready to submit your changes, create a pull request and describe your changes in detail.
This project is licensed under the MIT License.
If you have any questions or issues with Notion Donation, please open an issue on Github at https://github.com/dutchakdev/notion-donation/issues. You can also find more of my work on GitHub.