Hello. I wanted to add my custom database table and build a backend api to connect to database and frontend. As i am new to this. I am running tutor version 17.0.0. How can i do this?
There are two layers to what you’re proposing:
- Build a Django app plugin that defines the database table as a Django model, and defines the REST API using Django REST Framework.
- Build a Tutor plugin to install your django plugin. This can come later.
You may also be interested in GitHub - cookiecutter-openedx/openedx-plugin-example: Python-Django scaffolding for common use cases which has more extensive examples.