Meteor Contentful

An Open-source package to leverage content management in MeteorJS applications.

I built this package so I could synchronise content from Contentful to a collection of brochureware sites I was working on. Contentful is a web based service that provides content management. They offer a REST api and webhooks to make content updates seamless.

I wanted to create this module to allow non-technical users to manage the content on their sites, and I chose Contentful fo the following reasons:

  • The user experience was good, with a nice neat interface that was easy to use for a non technical person.
  • They had impressive image asset management capabilities alongside a well documneted REST API service.
  • Markdown was used for content editing, which is nice and clean. Content types could also be specified with strict type enforcement and checking, offering great flexibility.
  • A webhook service was provided to push new changes, thus negating the need to build an automated sync tool. This package could (optionally) listen for changes and update content on the fly.

I used a handy tool called ngrok.io which acts as a secure tunnel to open your development machine to external services. Tests were run using a combination of Mocha, Chai and SinonJS.

This package is no longer supported and has been archived, but the project can be seen on GitGub.