A project for pulling latest posts using Contentful
- Node v4.7.2 or greater
git clone https://github.com/contentful/boilerplate-javascript.gitnpm install && npm start.env file:
CONTENTFUL_SPACE_ID=<spaceid>
CONTENTFUL_ACCESS_TOKEN=<accesstoken>
npm install from root
npm install from public/
nodemon index.js from root
npm start from public/
Contentful's Rich Text field has an official React renderer specifically for this purpose that handles all the different node types (paragraphs, blockquotes, headings, links, etc.)
For detailed implementation guide, see: Contentful Reference