Make your own Dev.to CMS livestream - Part 3

swyx - Apr 1 '20 - - Dev Community

This is day 3 of my livecode Dev.to CMS.

Source: https://github.com/sw-yx/dev-to-cms
Demo: https://dev-to-cms.now.sh

Things covered

Video

Here is the YouTube livestream (3 hours).

Dev.To embed:

Today we refactored the editor to a standalone component, and then added the ability to edit posts! It now works

We methodically worked thru all issues:

  • splitting out an editor component
  • creating api endpoint to fetch (GET) a single existing article
    • this later required fetching unpublished articles as well
  • creating api endpoint to update (PUT) a single existing article
  • wiring it up to the Dashboard (list of articles) and to existing editor pages.

Catch up on the Dev.to CMS LiveStream!

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .