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
- Host: GitHub
- URL: https://github.com/itsyst/gatsby-blog
- Owner: itsyst
- License: 0bsd
- Created: 2020-09-23T13:29:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-09T07:56:24.000Z (over 1 year ago)
- Last Synced: 2024-02-09T08:32:25.624Z (over 1 year ago)
- Topics: gatsby, graphql, react, styled-components, versel
- Language: JavaScript
- Homepage: https://gatsbys-blog.vercel.app/
- Size: 12.6 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Gatsby's BlogThis 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.md1. **`/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.