Sample proejct to understand Notion integration into Monolith React and Django application.
APACHE-2.0 License
Sample project to understand how notion can be integrated into Monolith React and Django application.
Login and Register with Notion is implemented using django-allauth package.
Notion query database API is integrated to fetch all pages within given database.
Cypress is used for e2e frontend testing and Django tests pacakge is used for testing backend.
Testing is automated via GitHub Actions and code coverage report is integrated with Codecov
To run test with Cypress enter following command in core/static/core directory:
yarn cy:run-e2e
For Django tests:
coverage run manage.py test core/tests
pip install -r requirements.dev.txt
python manage.py migrate
python manage.py runserver localhost:8000