What's the best approach to keeping Contentstack data in sync with our in-house database? What's the recommended database we should use for this?
Best answer by nick.nguyen
View originalWhat's the best approach to keeping Contentstack data in sync with our in-house database? What's the recommended database we should use for this?
Best answer by nick.nguyen
View originalUsing our Datasync utility is an option store content to a database, generally a filesystem or MongoDB instance. Datasync uses webhooks to track event triggers that will sync content for you with the provided boilerplate.
You can also just handle storing data yourself, using the Sync API. Its fairly straight forward, but long story short, you run an initial sync to grab content and then run sub-sequent syncs over time to track delta changes made to your stacks. This can be run daily, weekly, monthly, whatever you want. The format is strictly JSON, so you can store it anywhere you would like whether a traditional database vs not.
No account yet? Create an account
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.