A Gatsby and Contentful powered recipe website for the funs.
(Borrowed from the Gatsby Contenful starter)
Static sites are scalable, secure and have very little required maintenance. They come with a drawback though. Not everybody feels good editing files, building a project and uploading it somewhere. This is where Contentful comes into play.
With Contentful and Gatsby you can connect your favorite static site generator with an API that provides an easy to use interface for people writing content and automate the publishing using services like Circle CI.
To use this project you have to have a Contentful account. If you don't have one yet you can register at www.contentful.com/sign-up.
- Clone
- Install (
npm install
oryarn install
) - Run (
npm run start
oryarn run start
)
This project comes with a few handy commands for linting and code fixing. The most important ones are the ones to develop and ship code. You can find the most important commands below.
Run in the project locally.
Run a production build into ./public
. The result is ready to be put on any static hosting you prefer.
Run a production build into ./public
and publish the site to GitHub pages.