React-Static Basic template with added configuration for use with Contentful CMS.
Configure a starter site in Contentful by following the instructions below.
-
After logging in / signing up for your Contentful account, Add a new space
-
When adding a name under the "Space details" step, choose "Create an example space...". This repo is set up to use the example blog post content and model generated by Contentful, so choose the "Blog" tab in the lower part of the dialog box the click "Procced to confirmation" to create the space
-
In the "Space Home" tab, click on the "Use the API" button
-
Copy the values for "Space ID" and "Content Delivery API - access token" to the
src/contentful/config.js
file
Run yarn
then yarn start
and you'll be able to see it all running at http://localhost:3000