Coder Social home page Coder Social logo

Gatsby + Cosmic JS

gatsby-blog-cosmicjs

This repo contains an example blog website that is built with Gatsby, and Cosmic JS.

See live demo hosted on Netlify

Uses the Cosmic JS Gatsby Source Plugin

Prerequisites

  • Node (I recommend using v8.2.0 or higher)
  • Gatsby CLI

Install

# Make sure that you have the Gatsby CLI program installed
npm install --global gatsby-cli

# run from your CLI
gatsby new gatsby-example-blog https://github.com/cosmicjs/gatsby-blog-cosmicjs

In gatsby-config.js you need to add configuration for your Cosmic JS Bucket

{
  resolve: 'gatsby-source-cosmicjs',
  options: {
    bucketSlug: '', /* bucket slug */
    objectTypes: ['posts', 'settings'], /* object slugs you want to populate */
    apiAccess: {
      read_key: '', /* optional */
    }
  }
},

Then

# Then you can run it by
cd gatsby-example-blog
npm run develop

Zupirio's Projects

.o icon .o

The domain records for the ".o" TLD on @OpenNIC. Claim your domain today!

colored-output-in-c icon colored-output-in-c

colored output in C courtesy to Edwin Lazar from https://www.quora.com/profile/Edwin-Lazar-1

create-react-app-auth-amplify icon create-react-app-auth-amplify

Implements a basic authentication flow for signing up/signing in users as well as protected client side routing using AWS Amplify.

educative.io_courses icon educative.io_courses

this is downloadings of all educative.io free student subscription courses as pdf from GitHub student pack

ft_ls icon ft_ls

Unix "ls" function recoded.

ghostium icon ghostium

A Ghost theme focused on content based on Medium design/ux.

gleanerweekly icon gleanerweekly

Jekyll Email Acquisition Landing Page for GleanerWeekly.com

social-network icon social-network

The source code of the new howCode Social Network video series on YouTube.

swifty-proteins icon swifty-proteins

This project aims to introduce you to Scene Kit and go a litte bit further with Apple frameworks.

swingy icon swingy

42 project: RPG game using Swingy (Java) library.

swingy-1 icon swingy-1

Minimalistic text-based RPG game using swing framework.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.