Fireship · @fireship

Contentful - CMS for Angular Progressive Web Apps

Uploaded November 6, 2017 · Length 10:37

Contentful - CMS for Angular Progressive Web Apps

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.

  1. 0:00

    in the 90s we had static websites in the

  2. 0:02

    2000s we had WordPress and today we have

  3. 0:05

    programmable content with content full

  4. 0:07

    it works by treating all of your static

  5. 0:09

    content like an API let's imagine your

  6. 0:11

    product consists of an angular

  7. 0:13

    progressive web app a native mobile app

  8. 0:15

    and an electron desktop app contentful

  9. 0:18

    serves as a centralized source for all

  10. 0:19

    of your content so anytime something

  11. 0:21

    changes you don't have to redeploy every

  12. 0:23

    app individually in this episode I'm

  13. 0:26

    going to show you how to use the

  14. 0:27

    platform with an angular 5 progressive

  15. 0:29

    web app and broadcast push notifications

  16. 0:31

    out any time new content is published

  17. 0:33

    before we get started I wanted to say

  18. 0:35

    thank you to lifetime pro member frantic

  19. 0:37

    they're building amazing enterprise

  20. 0:39

    great apps using similar technologies to

  21. 0:41

    what I show you here if you're looking

  22. 0:42

    for inspiration for modern web app

  23. 0:44

    development be sure to check out their

  24. 0:46

    portfolio to get started with this

  25. 0:49

    tutorial you'll need to first sign up

  26. 0:50

    for a free content full account and the

  27. 0:53

    first thing you'll do is create a space

  28. 0:54

    for your content spaces allow you to

  29. 0:57

    organize your concerns for example you

  30. 0:59

    might have one space for blog post and

  31. 1:01

    another space for product listings in

  32. 1:03

    this example I'm going to create a

  33. 1:05

    lesson space that will mirror the

  34. 1:07

    content that you'll find on angular

  35. 1:09

    firebase com the next step is to create

  36. 1:12

    a content type so in this case our

  37. 1:14

    content type is going to be a lesson but

  38. 1:17

    you might also have content types for

  39. 1:18

    the author profile or a category listing

  40. 1:21

    or any other chunk of content that you

  41. 1:23

    can imagine after you've created your

  42. 1:25

    content type the next step is to add

  43. 1:27

    some fields to it a field would be any

  44. 1:30

    property related to your actual content

  45. 1:32

    type so in this case we're going to set

  46. 1:34

    a title field the beauty of this

  47. 1:36

    platform is that you can standardize and

  48. 1:38

    validate each field doing this from

  49. 1:40

    scratch would be a ton of extra work for

  50. 1:42

    a developer the end result is a

  51. 1:44

    consistent blueprint for your content

  52. 1:46

    that you can handle differently on any

  53. 1:48

    platform after you have your blueprint

  54. 1:51

    created you can then use content foulest

  55. 1:52

    text editor to easily add new content

  56. 1:54

    this is a powerful feature when you have

  57. 1:57

    team members who create content for your

  58. 1:58

    apps but aren't actually programmers so