Fireship · @fireship
Contentful - CMS for Angular Progressive Web Apps
Uploaded November 6, 2017 · Length 10:37
Summary
Learn how to use Contentful as a CMS for Angular Progressive Web Apps, including setting up a space, content types, and fields, and integrating with Angular.
- contentful
- angular
- cms
- progressive web apps
- content management system
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
in the 90s we had static websites in the
- 0:02
2000s we had WordPress and today we have
- 0:05
programmable content with content full
- 0:07
it works by treating all of your static
- 0:09
content like an API let's imagine your
- 0:11
product consists of an angular
- 0:13
progressive web app a native mobile app
- 0:15
and an electron desktop app contentful
- 0:18
serves as a centralized source for all
- 0:19
of your content so anytime something
- 0:21
changes you don't have to redeploy every
- 0:23
app individually in this episode I'm
- 0:26
going to show you how to use the
- 0:27
platform with an angular 5 progressive
- 0:29
web app and broadcast push notifications
- 0:31
out any time new content is published
- 0:33
before we get started I wanted to say
- 0:35
thank you to lifetime pro member frantic
- 0:37
they're building amazing enterprise
- 0:39
great apps using similar technologies to
- 0:41
what I show you here if you're looking
- 0:42
for inspiration for modern web app
- 0:44
development be sure to check out their
- 0:46
portfolio to get started with this
- 0:49
tutorial you'll need to first sign up
- 0:50
for a free content full account and the
- 0:53
first thing you'll do is create a space
- 0:54
for your content spaces allow you to
- 0:57
organize your concerns for example you
- 0:59
might have one space for blog post and
- 1:01
another space for product listings in
- 1:03
this example I'm going to create a
- 1:05
lesson space that will mirror the
- 1:07
content that you'll find on angular
- 1:09
firebase com the next step is to create
- 1:12
a content type so in this case our
- 1:14
content type is going to be a lesson but
- 1:17
you might also have content types for
- 1:18
the author profile or a category listing
- 1:21
or any other chunk of content that you
- 1:23
can imagine after you've created your
- 1:25
content type the next step is to add
- 1:27
some fields to it a field would be any
- 1:30
property related to your actual content
- 1:32
type so in this case we're going to set
- 1:34
a title field the beauty of this
- 1:36
platform is that you can standardize and
- 1:38
validate each field doing this from
- 1:40
scratch would be a ton of extra work for
- 1:42
a developer the end result is a
- 1:44
consistent blueprint for your content
- 1:46
that you can handle differently on any
- 1:48
platform after you have your blueprint
- 1:51
created you can then use content foulest
- 1:52
text editor to easily add new content
- 1:54
this is a powerful feature when you have
- 1:57
team members who create content for your
- 1:58
apps but aren't actually programmers so


