All Projects → danielmahon → Gatsby Starter Procyon

danielmahon / Gatsby Starter Procyon

Licence: mit
An opinionated Gatsby starter designed for trash-eating pandas.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Gatsby Starter Procyon

Next Advanced Apollo Starter
Advanced, but minimalistic Next.js pre-configured starter with focus on DX
Stars: ✭ 131 (+48.86%)
Mutual labels:  apollo, starter, boilerplate
Next Js Blog Boilerplate
🚀 Nextjs Blog Boilerplate is starter code for your blog based on Next framework. ⚡️ Made with Nextjs, TypeScript, ESLint, Prettier, PostCSS, Tailwind CSS.
Stars: ✭ 134 (+52.27%)
Mutual labels:  netlify, starter, boilerplate
Gatsby Mdx Netlify Cms Starter
Gatsby-MDX with Netlify CMS. Support React components in your CMS editor!
Stars: ✭ 84 (-4.55%)
Mutual labels:  netlify, gatsby, starter
Gatsby Starter Netlify Cms
Example gatsby + netlify cms project
Stars: ✭ 1,932 (+2095.45%)
Mutual labels:  netlify, gatsby, starter
gatsby-starter
Gatsby Starter for creating portfolio & blog.
Stars: ✭ 55 (-37.5%)
Mutual labels:  material-ui, gatsby, netlify
Create React App Material Typescript Redux
A ready to use boilerplate for starting big react projects
Stars: ✭ 257 (+192.05%)
Mutual labels:  starter, boilerplate, material-ui
Mvfsillva
My personal website
Stars: ✭ 13 (-85.23%)
Mutual labels:  apollo, netlify, gatsby
Nodejs Starter
Nodejs Starter - Open-Source Javascript Boilerplate | AppSeed
Stars: ✭ 86 (-2.27%)
Mutual labels:  starter, boilerplate
Nestjs Monorepo Starter
A full-stack nestjs starter project. Includes authorization, authentication, MongoDB, Redis queue support, Crons jobs, and end-to-end testing.
Stars: ✭ 58 (-34.09%)
Mutual labels:  starter, boilerplate
Gatsby Material Ui Business Starter
Beautiful Gatsby Material UI Business Starter
Stars: ✭ 62 (-29.55%)
Mutual labels:  gatsby, material-ui
Slim3
Slim Framework 3 Skeleton Application
Stars: ✭ 70 (-20.45%)
Mutual labels:  starter, boilerplate
Gatsby Styled Blog Starter
My first GatsbyJS starter.
Stars: ✭ 86 (-2.27%)
Mutual labels:  gatsby, starter
Dantecalderon.dev
💻 ❤️ My personal website
Stars: ✭ 51 (-42.05%)
Mutual labels:  netlify, gatsby
Koa React Notes Web
🤓 A simple SPA built using Koa (2.5.1) as the backend and React (16.4.1) as the frontend. Features MySQL integration, user authentication, CRUD note actions, and more.
Stars: ✭ 61 (-30.68%)
Mutual labels:  starter, boilerplate
No.lol
🍩 Lauren's personal blog
Stars: ✭ 46 (-47.73%)
Mutual labels:  netlify, gatsby
Artemis Dev Tool
An Apollo GraphQL Query Schema Testing Tool
Stars: ✭ 66 (-25%)
Mutual labels:  apollo, material-ui
Minfront
Stars: ✭ 45 (-48.86%)
Mutual labels:  netlify, boilerplate
Resume Builder
Resume Builder is a free open-source project that allows anyone to easily maintain and build any kind of resume.
Stars: ✭ 62 (-29.55%)
Mutual labels:  gatsby, material-ui
Rw
Ryan Wiemer's Digital Portfolio
Stars: ✭ 87 (-1.14%)
Mutual labels:  netlify, gatsby
Gatsby Advanced Starter
A high performance skeleton starter for GatsbyJS that focuses on SEO/Social features/development environment.
Stars: ✭ 1,224 (+1290.91%)
Mutual labels:  netlify, gatsby

gatsby-starter-procyon

gatsby-starter-procyon

An opinionated Gatsby starter designed for trash-eating pandas.

View Demo - https://gatsby-starter-procyon.netlify.com/
Click "Login" in the footer to enable client-side editing.
Email: [email protected] Password: demo
You'll get an error when trying to save changes to remote, but you get the idea...

View the NetlifyCMS version on the netlifycms branch:
https://github.com/danielmahon/gatsby-starter-procyon/tree/netlifycms

Features

Coming Soon™

  • [ ] Enhanced styled API supporting React.forwardRef and props
  • [ ] Dynamic page and section creation
  • [ ] Example on how to use Markdown AST to render components
  • [ ] Transactional emails
  • [ ] Contact form and message management
  • [ ] Links to sites that used gatsby-starter-procyon

For an overview of the project structure please refer to the Gatsby documentation - Building with Components.

Install

Make sure that you have the Gatsby CLI program installed:

npm install --global gatsby-cli

And run from your CLI:

gatsby new gatsby-starter-procyon https://github.com/danielmahon/gatsby-starter-procyon
cd gatsby-starter-procyon

Setup GraphCMS

  1. Create an account at GraphCMS.
  2. Create a new project using the blog template.
  3. Add at least one "Blog Post" to the CMS, be sure to fill out the title, coverImage, content and slug. These are required for the initial Gatsby build.
  4. Create .env.development and .env.production in the root folder and add the following environmental variables with your token and endpoint:
GATSBY_GRAPHQLCMS_ENDPOINT=
GATSBY_GRAPHQLCMS_TOKEN=

Then you can run it by:

npm start

Navigate to https://localhost:5000 in your browser.

Deploy

Deploy to Netlify

Automatic versioning, deployment and CHANGELOG

This starter supports automatic versioning and CHANGELOG generation based on your git commits via versionist. Link your GitHub repo to Netlify to include automatic deployments.

First, create a GitHub repo and link it to Netlify:
https://www.netlify.com/docs/continuous-deployment/.

# Initialize your repo
git init
# Add all files not in .gitignore
git add -A
# Create your first commit
git commit -m "Initial commit"
# Sets your remote origin to your GitHub repo
git remote add origin https://github.com/[username]/[repo-name].git
# Set your local master to track origin/master
git branch -u origin/master
# Push your first release
npm run release:patch
# 0.0.1 -> 0.0.2
# You can also increment by minor or major versions
# npm run release:minor
# npm run release:major

Make more changes...

git commit -m "Made something do something"
npm run release:patch
# 0.0.2 -> 0.0.3

Setup Netlify Identity

There is a "Login" link in the site footer that launches the Netlify Identity Widget. The first time it opens it should ask you for your Netlify site's domain. Paste that in then you will be able to sign-up or login. I recommend starting with the simple email sign-up for local development.

DraftJS Client-Side CMS Editing

Go to a blog post page and make sure you are logged in. Click inside the main post's content and start editing! You should see a "reset" and "save" button to the bottom-right of the content. Clicking save will use Apollo to update your GraphCMS content and if you setup web-hooks between GraphCMS and Netlify it will also trigger a rebuild of your static site! In the meantime Apollo will locally cache your changes so you will continue to see your changes until you refresh the site (which clears the cache). When the rebuild is done you can refresh the page and see the updated content.

Questions

Q: Why... this?
A: Well, I wanted to rebuild some small client marketing sites using the same tech I am currently using for web(native) apps, like ReactJS. Gatsby seemed cool, Netlify makes it easy, and I wanted in-place editing like Medium™. So I created a proof-of-concept and I was surprised it worked.

Q: You're an idiot and this is 💩
A: Thanks, and I welcome all creative criticism.

Q: What's Procyon? Why Trash Pandas?
A: Look it up and because.

Todo

Lots of stuff. Check issues in the future.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].