Saving App settings, User Data

Saving App settings, User Data

wayforward
Shopify Partner
38 4 5

Hi,

 

I am new to app development.

When we develop a Shopify app, there can be information like app settings, user data, etc that needs to be stored.

 

What are the most common and efficient ways to store that information (if I am using remix)?

Replies 3 (3)

Huptech-Web
Shopify Partner
941 188 197

Hello @wayforward 

The best way to store application settings and user data is by utilizing a database. Among the most popular choices in app development are MongoDB and MySQL, both of which offer robust capabilities. You can securely store and manage detailed data on your server using these databases.
To implement this, you should create a Server API within your Remix app. The default Shopify Remix template includes Prisma ORM, which you can leverage for communicating with the database.

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required
wayforward
Shopify Partner
38 4 5

How about using metaobjects for storing basic product/customer related data instead of a database?

Huptech-Web
Shopify Partner
941 188 197

Hello @wayforward 

In large and scalable applications, storing user data in metaobjects is not advisable due to security concerns. Creating private metaobjects may provide some level of privacy, but storing sensitive information like user data in this manner remains a risky approach. Moreover, if you intend to provide merchants with insightful analytics data through your app, storing this data in metaobjects can introduce complexities.

To ensure scalability and enhance security in your application, it is recommended to utilize your own database infrastructure. This approach offers greater control and robustness in managing and securing user data and analytics information

 

- If the solution presented meets your needs and addresses your query effectively, I encourage you to accept it as the chosen answer. This will acknowledge the support you received and aid fellow community members in identifying reliable and effective solutions for their similar concerns.
Thank you.

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required