This API connects to a mariadb database
Install dependencies
Open requirements.txt file and install the listed modules
Example
pip install mariadb
Read the code and chage database name,user, password and table fields to match your database.
Run the API
Add this url http://127.0.0.1:5000/create_record
to your application's form action attribute.
Run your application and submit your form details.
Done, records will posted to database by the API.
Developers
This API belongs to Team BrighCode