An open API service indexing awesome lists of open source software.

https://github.com/itsyst/gatsby-blog

Blog project using gatsby - react
https://github.com/itsyst/gatsby-blog

gatsby graphql react styled-components versel

Last synced: 3 months ago
JSON representation

Blog project using gatsby - react

Awesome Lists containing this project

README

        



logo



Gatsby's Blog

This is my first attempt to build my ownn site with Gatsby.

## πŸš€ Quick start

1. **Create a Gatsby site.**

I used the Gatsby CLI to create a my default starter site.

```shell
gatsby new gatsby-blog
```

2. **Ready to go.**

I navigated into the new site directory and start it up.

```shell
cd gatsby-blog/
gatsby develop
```

3. **Create a new github-CLI repository**


```shell
# create a repository under github account using the current directory name
gh repo create
```

This is my complete code for the Gatsby blog

## Guide

1. **Clone or download the code from this repo**

```shell
# git clone [email protected]:itsyst/gatsby-blog.git
gh repo create
```
2. **Install the dependencies**

```shell
cd gatsby-blog/
npm install
```
or

```shell
cd gatsby-blog/
yarn install
```
3. **πŸš€Launch the project**

```sh
gatsby develop
```

3. **You can have a look to the deployed instance of this project**

https://gatsbys-blog.netlify.app

## 🧐 What's inside?

A quick look at the top-level files and directories in this 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 used by this project.

2. **`/src`**: This directory will contain all of the code related to the front-end view of the site.

3. **`.gitignore`**: This file tells git which files it should not track.

4. **`.prettierrc`**: This is a configuration file for [Prettier](https://prettier.io/).

5. **`gatsby-browser.js`**: This file is where Gatsby expects to find any usage of the [Gatsby browser APIs](https://www.gatsbyjs.com/docs/browser-apis/).

6. **`gatsby-config.js`**: This is the main configuration file for a Gatsby site.([config docs](https://www.gatsbyjs.com/docs/gatsby-config/)).

7. **`gatsby-node.js`**: This file is where Gatsby expects to find any usage of the [Gatsby Node APIs](https://www.gatsbyjs.com/docs/node-apis/).

8. **`gatsby-ssr.js`**: This file is where Gatsby expects to find any usage of the [Gatsby server-side rendering APIs](https://www.gatsbyjs.com/docs/ssr-apis/).

9. **`LICENSE`**: This is a Gatsby starter licensed under the 0BSD license. but i replaced it with my own license.

10. **`package-lock.json`** . This is an automatically generated file based on the exact versions of npm dependencies that were installed for this project.

11. **`package.json`**: A manifest file for Node.js projects.

12. **`README.md`**: A text file containing useful reference information about this project.