/simple-react-blog

A simple blog website powered by Next.js and the Cosmic JS GraphQL API

Primary LanguageJavaScript

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.