Let’s replace This is the Blog Page with a Bulma Hero for our page header. Let start by making a Blog ModelĪdd in three fields: Title, Path, and Content You have to first set up your form the in Content Model, then you can hop over to Content and fill out your forms, each form becomes an item in the models array of data sent via rest end points. It’s basically a really nice web form the converts to simple json. There are two parts to your data, the structure and the data. The ConceptĬontentful is content management as a service (CaaS), this replaces the need to have to connect your site to that terrible MySQL database hosted on some crappy Apachy Server, where you have to install phpMyAdmin and spend hours trying to figure out cPanel. To be fair, I don’t hate Wordpress for its UX, I hate it because its slow and built on what looks like hacked together PHP, and lets face it, no one actually likes PHP. As much as hate to admit, I love it and thats an amazing thing because I loth Wordpress. When you start poking around Contentful, you might get a strange failure feeling, daja vue perhaps, or is it just that it looks exactly like the Wordpress Admin?Ĭontentful is very clean, easy to navigate, and it looks and feels a lot like Wordpress. This does not include Redux… yet ) Contentful Sign up for Contentful This will go over the basics of setting up Contentful and displaying its data as a blog feed in our React application. Part One: Building a website with React and Bulma Part Two: Building a Blog with React and Contentful Part Three: Import your Medium Feed into React Part Four: Adding a Redux to a React Blog Part Five: Replacing Redux Thunks with Redux Sagas Part Six: ( In Progress) Writing Unit Test for a React Blog with Redux Sagas This article is part two in a weekly series on building a blog with React and is an extension of the code created in part one.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |