Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Latest commit

 

History

History

gatsby-blog

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Strapi Starter Gatsby Blog

Gatsby starter for creating a blog with Strapi.

This starter allows you to try Strapi with Gatsby with the example of a simple blog. It is fully customizable and due to the fact that it is open source, fully open to contributions. So do not hesitate to add new features and report bugs!

This starter uses the Strapi blog template

Getting started

Use our create-strapi-starter CLI to create your project.

# Using Yarn
yarn create strapi-starter my-project gatsby-blog

# Or using NPM
npx create-strapi-starter my-project gatsby-blog

The CLI will create a monorepo, install dependencies, and run your project automatically.

The Gatsby frontend server will run here => http://localhost:3000

The Strapi backend server will run here => http://localhost:1337

You will however need to manually create a full access API token in Strapi. Once it's created, save it as STRAPI_TOKEN in your environment variables.

Deploying to production

You will need to deploy the frontend and backend projects separately. Here are the docs to deploy each one:

Enjoy this starter!