Hello.
We are currently copying the sample application here and have even been able to complete the form.
URL
I would like to save the information entered in the form to the database, but I have not been able to do so by trial and error.
Also, I would like to know what type of DB to use when creating an application. (mysql,mongodb,sqlite…)
If you have any tips, please help us.
This statement was translated using DeepL.
use whatever database you want to on your apps backend.
There is no prescribed database system.
If you need to retain data in your system use whichever database systems your software requires or you know how to use.
The example app just uses metafields for the data layers.
https://github.com/Shopify/product-reviews-sample-app/blob/main/docs/technical-details/data-layer.md
Some tutorials use sqlite
https://shopify.dev/apps/getting-started/build-app-example/backend
Overall this is a platform agnostic development questions, it’s an incredibly broad question better suited for stackexchange or google to work out what backend systems to use in which situations.
1 Like
Hello.
Thank you for the clear explanation.
It was helpful to know that I can use other databases such as MySQL and MongoDB.
I have never heard of meta fields being used before, so I will look into it and try to build one.
Thank you very much.