MCPcopy Index your code
hub / github.com/chronisp/gatsby-starter

github.com/chronisp/gatsby-starter @v1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0 ↗ · + Follow
41 symbols 142 edges 83 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Netlify Status

Gatsby Starter

Gatsby Starter for creating portfolio & blog.

Key Features

These are the key features of the project: * Gatsby (GraphQL for queries) * React (everything in React Hooks) * Redux (custom HOF to connect actions & props) * Material UI (palette, typography & breakpoints configuration) * Contentful CMS (blog integration) * Netlify Deployment Support * React Helmet * Flow * Prettier * Config files for each environment

Get Started

Make sure that you have Node.js v.8, yarn v.1 and npm v.5 or above installed.

Install Gatsby CLI

npm install -g gatsby-cli

Clone repository

git clone https://github.com/chronisp/gatsby-starter.git <YOUR_PROJECT_NAME>

Move to project directory

cd <YOUR_PROJECT_NAME>

Install all dependencies

yarn install

Development mode

Start development server

yarn develop

Your site is now running at http://localhost:8000.

Production mode

Create a production build

yarn build

Serve the production build locally

yarn serve

Your site is running at http://localhost:9000.

Linting

Format all JS files

yarn format

Contentful Blog

In order to use Contentful blog, you should define the required settings in both .env.development and .env.production files.

CONTENTFUL_SPACE_ID=XXXXXXXXXX
CONTENTFUL_ACCESS_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXX
CONTENTFUL_ENV=XXXX

For more info on how to setup Contentful follow this link.

Core symbols most depended-on inside this repo

useActiveAnimation
called by 3
src/components/animated/hooks/useActiveAnimation.js
isMobileView
called by 2
src/utils/isMobileView.js
compose
called by 2
src/utils/compose.js
combineMaps
called by 2
src/state/utils/componentProps.js
useSiteMetadata
called by 1
src/components/seo/useSiteMetadata.js
stateProp
called by 1
src/state/utils/componentProps.js
actionProp
called by 1
src/state/utils/componentProps.js
connectProps
called by 1
src/state/utils/componentProps.js

Shape

Function 41

Languages

TypeScript100%

Modules by API surface

src/state/utils/componentProps.js4 symbols
src/utils/isTabletView.js1 symbols
src/utils/isMobileView.js1 symbols
src/utils/isDesktopView.js1 symbols
src/utils/compose.js1 symbols
src/styles/typography.js1 symbols
src/styles/color.js1 symbols
src/pages/index.js1 symbols
src/pages/blog.js1 symbols
src/pages/about.js1 symbols
src/pages/404.js1 symbols
src/containers/welcome/Welcome.js1 symbols

For agents

$ claude mcp add gatsby-starter \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact