This repository is a React Storyblok starter template used in following 5 min tutorial
To use this project you have to have a Storyblok account. If you don't have one yet you can register at Storyblok, it's free.
You can read how to use the React SDK here
$ git clone https://github.com/storyblok/storyblok-react-boilerplate
$ npm install # or yarn
Create a new empty space and exchange the preview token of your new space with the accessToken
in index.js
.
Set the preview domain in Storyblok to http://localhost:3000/
# to run in developer mode
$ npm run start # or yarn start
# to build the project
$ npm run build # or yarn build