Contentstack DataSync is a robust utility designed to keep your published content synchronized with your local database. It ensures that the most recent publish, update, and delete operations done on your entry, and/or assets reflect automatically on the content.
DataSync offers several key benefits:
Additional Resources: To learn how to implement DataSync with an application, you can refer to this Node.js example app guide.
To cater to different storage and performance needs, Contentstack provides two SDKs under the DataSync utility:
The MongoDB SDK syncs your content to a local MongoDB database. It’s ideal for applications that prefer structured querying and faster read access.
Key Features:
The Filesystem SDK stores your content locally in JSON files. It’s best suited for static site generators or environments with minimal infrastructure requirements.
Key Features:
Additional Resource: To know more about the MongoDB SDK and FileSystem SDK, refer to the Get Started with Contentstack MongoDB SDK and Get Started with Contentstack FileSystem SDK documentation.