• Stars
    star
    176
  • Rank 216,987 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 5 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A blog made with gatsby to my gatsby course

Gatsby

Gatsby's default starter

Kick off your project with this default boilerplate. This starter ships with the main Gatsby configuration files you might need to get up and running blazing fast with the blazing fast app generator for React.

Have another more specific idea? You may want to check out our vibrant collection of official and community-created starters.

πŸš€ Quick start

  1. 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-default-starter https://github.com/gatsbyjs/gatsby-starter-default
  2. Start developing.

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

    cd my-default-starter/
    gatsby develop
  3. 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 my-default-starter directory in your code editor of choice and edit src/pages/index.js. 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
β”œβ”€β”€ .prettierrc
β”œβ”€β”€ gatsby-browser.js
β”œβ”€β”€ gatsby-config.js
β”œβ”€β”€ gatsby-node.js
β”œβ”€β”€ gatsby-ssr.js
β”œβ”€β”€ LICENSE
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ package.json
└── README.md
  1. /node_modules: This directory contains 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) such as 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. .prettierrc: This is a configuration file for Prettier. Prettier is a tool to help keep the formatting of your code consistent.

  5. gatsby-browser.js: 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.

  6. 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).

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

  8. gatsby-ssr.js: 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.

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

  10. 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).

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

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

πŸŽ“ 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

More Repositories

1

awesome-audio-visualization

A curated list about Audio Visualization.
Shell
4,589
star
2

awesome-svg

A curated list of SVG.
Shell
4,521
star
3

will-jekyll-template

A simple Jekyll theme.
HTML
379
star
4

cards-jekyll-template

A simple Jekyll Template Card Based.
HTML
318
star
5

nba-remix

A simple app to show NBA games and scores/details.
TypeScript
209
star
6

js-tdd-course

Files to my course JS com TDD na prΓ‘tica
JavaScript
192
star
7

es6-curso

Arquivos das aulas do curso de ES6
HTML
185
star
8

screamer-js

Screamer.js is a Vanilla Javascript plugin to provide simple yet fully customisable web notifications using Web Notifications API.
JavaScript
161
star
9

Fast

A simple boilerplate to create projects with Jade, Stylus, Gulp and Browserify
HTML
123
star
10

github-course

Um repositΓ³rio simples utilizado no curso de Git.
93
star
11

dumb-codepen

A simple live editor with very few lines of code.
JavaScript
89
star
12

labs

Some experiments created by me to explain some concept or just for fun =)
HTML
87
star
13

curso-de-svg

Contents from my course about SVG
HTML
81
star
14

greensock-course

Files to my course about Greensock on Udemy
HTML
75
star
15

spotify-wrapper

A javascript wrapper library to work with Spotify API.
JavaScript
65
star
16

dotfiles

My Mac OS dotfiles
Shell
62
star
17

audio-experiments

My experiments using Web Audio API.
JavaScript
49
star
18

my-trips

TypeScript
46
star
19

discord-tailwind

Just a Discord clone made with TailwindCSS
TypeScript
44
star
20

script-dev

A simple script for basic installation of web development programs for Linux. (Debian Based)
Shell
43
star
21

japanese-words

Discover new japanese words each time you see the page.
TypeScript
42
star
22

on-leave-intent

A script to detect if the user is leaving the page and calls a function.
JavaScript
41
star
23

eve

A simple bot to work with the new Facebook Messenger API using Wit.ai.
JavaScript
39
star
24

minimal-blog

Um blog simples ensinando como utilizar o Jekyll para o curso.
CSS
35
star
25

btc-converter

A CLI to convert Bitcoin to any currency provided.
JavaScript
35
star
26

resume

My resume in markdown.
34
star
27

spotify-wrapper-player

An example using the spotify-wrapper lib to my JS TDD course.
JavaScript
34
star
28

photo-portfolio

A template redesigned by me to teach git commands in my new course.
CSS
32
star
29

webpack-example

Just an example of webpack configuration.
JavaScript
28
star
30

Fast-nunjucks

A simple boilerplate to create static sites using nunjucks templates, stylus and gulp to automate.
CSS
28
star
31

nba-nextjs

See NBA game results and standings powered by Next.js
TypeScript
26
star
32

willianjusten

My beautiful Readme
26
star
33

photos-portfolio

TypeScript
25
star
34

learn-japanese

Learn hiragana and katakana in an easy way.
TypeScript
25
star
35

kata-playground-ts

A simple playground to create and test your Katas in Typescript.
JavaScript
23
star
36

nextjs10-image

TypeScript
22
star
37

sublime-preferences

My list of plugins and settings for Sublime Text
21
star
38

user-idle-tracker

A library to check the status of the user and to run a callback when its considered Idle.
JavaScript
20
star
39

svg-animation-css

A simple SVG experiment using css animations.
HTML
19
star
40

use-konami-code

A simple custom react hook to verify a sequence of typed keys from the user.
JavaScript
16
star
41

nextjs-pratica

TypeScript
15
star
42

volta-mozao

Just a joke that I decided to make to my girlfriend.
JavaScript
15
star
43

github-stars-feed-rss

A simple action to populate my profile on GitHub Stars site with my latest blog posts and youtube videos.
JavaScript
14
star
44

boilerplate-cra-demo

A simple demo to show the boilerplate-cra from React Avançado
TypeScript
10
star
45

braziljs-16

My slides to BrazilJS 16.
CSS
10
star
46

react-full-header

A Full Header component create with React.
JavaScript
10
star
47

svg-gulp-optimizer

Some tests to optimize svg using Gulp, svgo, gulp-svgfallback and gulp-svgstore.
JavaScript
9
star
48

js-tdd-slides

Slides to my course JS com TDD na PrΓ‘tica.
CSS
9
star
49

crawler-huge

🚧 work in progress - A simple crawler that creates a json with urls and take screenshots.
JavaScript
9
star
50

svg-grunt-optimizer

Some tests to optimize svg using svgo, svg2png and grunt-svgstore.
HTML
9
star
51

boilerplate-graphql-demo

A simple demo to show the boilerplate-graphql from React Avançado
TypeScript
9
star
52

DinoChromeUnity

A clone for the famous Dino Game from Chrome when offline. My second game using Unity.
ShaderLab
7
star
53

bootstrap-boilerplate

A simple boilerplate to create projects with jade, bootstrap-sass and gulp
CSS
6
star
54

front-in-bh-16

My slides to Front in BH 16.
CSS
5
star
55

python-workshop

Files from my workshop about python
Python
5
star
56

willianjusten.com.br

Um blog sobre desenvolvimento web com foco em frontend. - https://willianjusten.com.br
JavaScript
4
star
57

gdg-bh-2015

Meus slides para o evento GDG BH 2015
HTML
4
star
58

devconf-18

My slides and examples to devconf
CSS
4
star
59

trab-sas

A simple project to control nmap and iptables over web interface.
JavaScript
4
star
60

python-vale-18

My slides to python-vale-18
CSS
4
star
61

front-in-rio-16

RepositΓ³rio com o cΓ³digo exemplo feito para o Front in Rio 2016 Html Edition
HTML
3
star
62

apod

A simple website to show Astronomy Picture of the Day using NASA API.
HTML
3
star
63

python-class-1

Some slides of my talk about python.
HTML
3
star
64

meetup-css-sp

My slides to Meetup CSS - SP.
CSS
3
star
65

trabalho-so2

Multiplicação de Matrizes utilizando Forks, Threads e MPI
C
3
star
66

imasters-2015

My slides to Imasters Developers Week RJ - 2015.
HTML
3
star
67

semcomp-2015

My slides to SEMCOMP 2015.
HTML
3
star
68

photo-examples

2
star
69

learnyounode-answers

Answers to the learnyounode from http://nodeschool.io/
JavaScript
2
star
70

frontend-carioca-2015

My slides to Frontend Carioca - 2015.
HTML
2
star
71

notetaker

An app to annotate info about some user on Github.
JavaScript
2
star
72

strapi-nested-bug-graphql

JavaScript
2
star
73

EloquentJS-Exercises

My exercises and projects from the book.
JavaScript
2
star
74

albumcolors

Over 150 covers creating a beautiful color palete.
HTML
2
star
75

frontinsampa-16

My slides to Front in Sampa 16.
CSS
1
star
76

fast-email-boilerplate

Kickstarter the development of email templates
CSS
1
star
77

python-para-zumbis

My exercises for Python para Zumbis.
Python
1
star
78

starwars-names

Get random Star Wars names.
JavaScript
1
star
79

FlappBirdUnity

Just a Flappy Bird clone as my first attempt to learn unity
C#
1
star
80

og-image-blog

TypeScript
1
star