All Projects β†’ fhavrlent β†’ gatsby-contentful-typescript-starter

fhavrlent / gatsby-contentful-typescript-starter

Licence: MIT License
Gatsby.js starter with TypeScript and Contentful

Programming Languages

CSS
56736 projects
typescript
32286 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to gatsby-contentful-typescript-starter

gatsby-starter
Gatsby Starter for creating portfolio & blog.
Stars: ✭ 55 (+266.67%)
Mutual labels:  gatsby, contentful, gatsbyjs, gatsby-starter
gatsby-generator
🎰 Generate Gatsby Starters in Seconds
Stars: ✭ 23 (+53.33%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-typescript-emotion-storybook
Gatsby Starter: TypeScript + Emotion + Storybook + React Intl + SVGR + Jest
Stars: ✭ 63 (+320%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-wiki
Creating a Knowledgbase using Gatsby.js and React.js (see final product ->
Stars: ✭ 32 (+113.33%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-starter-breeze
A Gatsby starter for graceful blogging in Chinese.
Stars: ✭ 44 (+193.33%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-starter-multiverse
Gatsby.js V2 starter template based on multiverse by HTML5 UP
Stars: ✭ 14 (-6.67%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-starter-prologue
Gatsby.js V2 starter template based on readonly by HTML5 UP
Stars: ✭ 24 (+60%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-ghost-novela-starter
A Gatsby starter for creating blogs from headless Ghost CMS.
Stars: ✭ 31 (+106.67%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-starter-devto
A GatsbyJS starter template that leverages the Dev.to API
Stars: ✭ 13 (-13.33%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-wordpress-typescript-scss-blog
Gatsby Wordpress Typescript Blog Boilerplate
Stars: ✭ 50 (+233.33%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-starter-typescript
Typescript version of the default Gatsby starter. Uses Gatsby v1.x
Stars: ✭ 58 (+286.67%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-starter-portfolio-bella
A bright single-page portfolio starter for Gatsby powered by Prismic.io. The target audience are designers and photographers.
Stars: ✭ 125 (+733.33%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-starter-paradigmshift
Gatsby.js V2 starter template based on Paradigm Shift by HTML5 UP
Stars: ✭ 16 (+6.67%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-starter-apple
🍎 Gatsby blog starter kit with beautiful responsive design
Stars: ✭ 88 (+486.67%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-starter-antoine
My opinionated Gatsby.js starter
Stars: ✭ 17 (+13.33%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-blog-template
✍️ A GatsbyJS Blog Template for blogging purposes.
Stars: ✭ 38 (+153.33%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-starter-i18n-bulma
A gatsby multilanguage template with bulma and i18n: it is a work in progress...
Stars: ✭ 22 (+46.67%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
WebSheets-Listing-Page
This is a Gatsby template for creating a catalogue websites based on Google Sheets data.
Stars: ✭ 29 (+93.33%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-starter-fractal
Gatsby.js V2 starter template based on Fractal by HTML5 UP
Stars: ✭ 19 (+26.67%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter
gatsby-starter-highlights
Gatsby.js V2 starter template based on highlights by HTML5 UP
Stars: ✭ 15 (+0%)
Mutual labels:  gatsby, gatsbyjs, gatsby-starter

Gatsby

Gatsby Contentful TypeScript starter

Gatsby starter with Contentful and TypeScript configuration.

πŸš€ Quick start

  1. Install the Gatsby CLI.

    The Gatsby CLI helps you create new sites using Gatsby starters (like this one!)

    # install the Gatsby CLI globally
    npm install -g gatsby-cli
  2. Create a Gatsby site.

    Use the Gatsby CLI to create a new site, specifying the default starter.

    # create a new Gatsby site using the default starter
    gatsby new my-project https://github.com/fhavrlent/gatsby-contentful-typescript-starter
  3. Set Contentful API keys.

    Rename empty.env to .env and set your Contentful API variables

  4. Start developing.

    Navigate into your new site’s directory and start it up.

    cd my-default-starter/
    gatsby develop
  5. Open the source code and start editing!

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

    Note: You'll also see a second link: http://localhost:8000___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

    Open the the my-default-starter directory in your code editor of choice and edit src/pages/index.tsx. Save your changes and the browser will update in real time!

🧐 What's inside?

A quick look at the top-level files and directories you'll see in a Gatsby project.

.
β”œβ”€β”€ node_modules
β”œβ”€β”€ src
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .nvmrc
β”œβ”€β”€ .prettierrc
β”œβ”€β”€ empty.env
β”œβ”€β”€ gatsby-browser.js
β”œβ”€β”€ gatsby-config.js
β”œβ”€β”€ gatsby-node.js
β”œβ”€β”€ gatsby-ssr.js
β”œβ”€β”€ LICENSE
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ package.json
β”œβ”€β”€ README.md
β”œβ”€β”€ tsconfig.json
β”œβ”€β”€ tslint.json
└── yarn.lock
  1. /node_modules: The directory where all of the modules of code that your project depends on (npm packages) are automatically installed.

  2. /src: This directory will contain all of the code related to what you will see on the front-end of your site (what you see in the browser), like your site header, or a page template. β€œSrc” is a convention for β€œsource code”.

  3. .gitignore: This file tells git which files it should not track / not maintain a version history for.

  4. .nvmrc: NVM configuration so packages works as they should

  5. .prettierrc: This is a configuration file for a tool called Prettier, which is a tool to help keep the formatting of your code consistent.

  6. empty.env: Rename to .env and set your Contentful API key

  7. gatsby-browser.tsx: This file is where Gatsby expects to find any usage of the Gatsby browser APIs (if any). These allow customization/extension of default Gatsby settings affecting the browser.

  8. gatsby-config.js: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. (Check out the config docs for more detail).

  9. gatsby-node.js: This file is where Gatsby expects to find any usage of the Gatsby node APIs (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process.

  10. gatsby-ssr.tsx: This file is where Gatsby expects to find any usage of the Gatsby server-side rendering APIs (if any). These allow customization of default Gatsby settings affecting server-side rendering.

  11. LICENSE: Gatsby is licensed under the MIT license.

  12. package-lock.json (See package.json below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (You won’t change this file directly).

  13. package.json: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project.

  14. README.md: A text file containing useful reference information about your project.

  15. tsconfig.json: Config file for TypeScript

  16. tslint.json: TS Lint configuration file

  17. yarn.lock: Yarn is a package manager alternative to npm. You can use either yarn or npm, though all of the Gatsby docs reference npm. This file serves essentially the same purpose as package-lock.json, just for a different package management system.

πŸŽ“ Learning Gatsby

Looking for more guidance? Full documentation for Gatsby lives on the website. Here are some places to start:

  • For most developers, we recommend starting with our in-depth tutorial for creating a site with Gatsby. It starts with zero assumptions about your level of ability and walks through every step of the process.

  • To dive straight into code samples, head to our documentation. In particular, check out the Guides, API Reference, and Advanced Tutorials sections in the sidebar.

πŸ’« Deploy

Deploy to Netlify

Deploy with Vercel

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].