Node.js Express boilerplate
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
setup
source
views
.editorconfig
.gitignore
README.md
gulpfile.js
helpers.js
index.js
package.json

README.md

Node.js / Express boilerplate

A Node.js / Express boilerplate which uses Storyblok as datasource for rendering components.


GitHub release

This boilerplate comes with a ready to use landing page using bootstrap as CSS framework. You can access the project on https://mysterious-tor-92558.herokuapp.com/.

Editing in Storyblok

What is a boilerplate?

A boilerplate gives you a starting point for using Storyblok as API-based CMS for your next project.

How to get started?

The most efficient way to start a Storyblok project would be with the Command Line Interface.

npm i storyblok -g
storyblok

and choose your boilerplate. You can of course simply download or clone this repository as well.

git clone https://github.com/storyblok/storyblok-express-boilerplate

After you cloned the repository execute following commands:

  1. npm install
  2. gulp
  3. Make sure you have created a space on app.storyblok.com with the location pointing to http://localhost:4301.
  4. To copy over the components this projects uses you can use following CLI command:
storyblok push-components https://raw.githubusercontent.com/storyblok/storyblok-express-boilerplate/master/setup/components.js

Configuration

Get your private token from your space on https://app.storyblok.com and exchange it in the file index.js.

let Storyblok = new StoryblokClient({
  privateToken: 'YOUR_TOKEN'
});

You want to know more about storyblok?



Storyblok Logo