Giter VIP home page Giter VIP logo

gatsby-starter-picks's Introduction

An opinionated Gatsby starter with custom UI components and Sanity CMS setup to quickly build sites.

DEMO


Netlify Status

Features

  • Gatsby 3
  • Sanity.io CMS integration with a few predefined schemas and widgets
  • SCSS Modules
  • Buletproof primitive component library to get the boring stuff out of the way
  • Useful SCSS utilities mixins to aid development
  • Tests included
  • Storybook 6

Setup

Deploy to Netlify

Use NPM

# Install deps
cd gatsby-starter-picks && npm i && npm i -g @sanity/cli gatsby-cli

# Login to Sanity
sanity login

# Note: Skip this step if you want to look around first
# Removes existing sanity config and sets up a new project
cd studio && sanity init && npm run graphql-deploy && cd ..

# Run
# Studio at http://localhost:3333
# Web frontend at http://localhost:8000
# GraphiQL explorer at http://localhost:8000/___graphql
npm start

# Format and lint
npm run lint
npm run fix

# Build
npm run build

# Deploy Sanity Graphql API
npm run graphql-deploy

# Deploy the Sanity Studio to *.sanity.studio
npm run sanity-deploy

# Run storybook
npm run storybook

Read the docs

Run Storybook to learn how components work

Getting started with Sanity.io

Sanity.io

gatsby-source-sanity

Contribute

  1. Fork it
  2. Create your feature branch git checkout -b feature/fooBar
  3. Commit your changes git commit -am 'Add some fooBar'
  4. Push to the branch git push origin feature/fooBar
  5. Create a new Pull Request

Credits

A massive thanks to @jackbrewer for creating and maintaining Picks component library and SASS utility mixins

This starter is inspired by Sanity

gatsby-starter-picks's People

Contributors

mantasmikal avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.