Boilerplate project for getting started using javascript with Contentful
-
Node v4.7.2 or greater
-
npm v2.14 or yarn v0.19.1
clone the project using the following command:
git clone https://github.com/contentful/boilerplate-javascript.git
Open the boilerplate-javascript directory and update the index.js file with your API credentials as follows:
var SPACE_ID = '<space_id>'
var ACCESS_TOKEN = '<access_token>'
Run the project using:
npm start