Getting started with Contentful and Angular

I cut my teeth developing Drupal sites. I've got to say, I miss the open source vibe of the Drupal Cons and Camps. But it seems like the world has moved on, and you can knock something out with a mixture of Angular and Contentful pretty quickly.

At the moment this site is pretty straightforward. I'm using the content list endpoint to get the listings page, then the individual item lookup for the individual article pages. My Angular http service get function looks like this:

getContentItemByUrl(search) {  const path = `/spaces/{space}/environments/master/entries?access_token={accessToken}&content_type=story&fields.url=${search}`;  const url =  'https://cdn.contentful.com' + path;  return this.http.get(url, this.createHeaders());} 

September 7, 2019