Back

Working with Appsmith + Appwrite to generate JSON

  • 0
  • Databases
  • REST API
ravi_studiorav
15 Jun, 2024, 10:30

Hey all, this question is based on this: https://community.appsmith.com/tutorial/integrating-appwrite-appsmith

So I need my software to generate some JSON which I will pass to my PDF generation tool. Within that JSON I will have a Room, and inside the Room will be an unspecified number of Items. So what I am trying to understand is would it be better to include the Items within my Room collection in Appwrite? Or could I have separate collections and then combine them to generate the relevant JSON? What is best practice in this case? Thanks!

TL;DR
Developers want to generate JSON to pass to a PDF generation tool using Appsmith + Appwrite. They are unsure whether to include the Items within the Room collection in Appwrite or have separate collections and then combine them. Best practice would be to have separate collections and then combine them to generate the JSON.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more