A simple blog website powered by Next.js and the Cosmic JS GraphQL API
JavaScript
Switch branches/tags
Nothing to show
Latest commit 78f007f Oct 12, 2017 @tonyspiro tonyspiro Update index.js
Permalink
Failed to load latest commit information.
.next first commit Oct 12, 2017
pages Update index.js Oct 12, 2017
static first commit Oct 12, 2017
.gitignore first commit Oct 12, 2017
README.md Update README.md Oct 12, 2017
config.js first commit Oct 12, 2017
helpers.js first commit Oct 12, 2017
package-lock.json first commit Oct 12, 2017
package.json add build to start script Oct 12, 2017
routes.js first commit Oct 12, 2017
server.js first commit Oct 12, 2017

README.md

Simple React Blog

Simple React Blog

View Demo

React + Next.js + GraphQL + Cosmic JS

This blog uses Next.js to create a Universal React blog. It connects to the Cosmic JS API via GraphQL. Manage your content from your Cosmic JS Bucket Dashboard. Simple.

Getting Started

git clone https://github.com/cosmicjs/simple-react-blog
cd simple-react-blog
npm i

Run in development

npm run dev

Run in production

COSMIC_BUCKET=your-bucket-slug npm start

Open http://localhost:3000.

Cosmic JS

You can easily manage the content in your Simple React Blog website on Cosmic JS. Cosmic JS makes a great React CMS. Follow these steps:

  1. Log in to Cosmic JS.
  2. Create a Bucket.
  3. Go to Your Bucket > Apps.
  4. Install the Simple React Blog.
  5. Deploy your Blog to the Cosmic App Server at Your Bucket > Web Hosting.