Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/zett-8/unbearable-lightness

Gatsby starter with Typescript, Styled-components, and Testing(Jest)
https://github.com/zett-8/unbearable-lightness

gatsby gatsby-starter jest styled-components testing typescript

Last synced: 13 days ago
JSON representation

Gatsby starter with Typescript, Styled-components, and Testing(Jest)

Awesome Lists containing this project

README

        

[![Build test](https://github.com/zett-8/unbearable-lightness/actions/workflows/build-test.yml/badge.svg)](https://github.com/zett-8/unbearable-lightness/actions/workflows/build-test.yml)


Gatsby's custom 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.

## πŸ–₯️ Minimum starter with some setup

- Typescript
- Styled-component
- Prettier & Stylelint
- Testing (Jest)
- PWA (optional)

## πŸš€ Quick start

1. **Create a Gatsby site.**

Use the Gatsby CLI to create a new site, specifying this repo.

```shell
gatsby new https://github.com/Zett-8/unbearable-lightness.git
```

1. **Start developing.**

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

```shell
cd /
gatsby develop
```

1. **Check on browser**

The 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](https://www.gatsbyjs.org/tutorial/part-five/#introducing-graphiql)._

## πŸ“ What's inside?

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

.
β”œβ”€β”€ src
β”œβ”€β”€ .gitignore
β”œβ”€β”€ .prettierrc
β”œβ”€β”€ gatsby-browser.ts
β”œβ”€β”€ gatsby-config.ts
β”œβ”€β”€ gatsby-node.ts
β”œβ”€β”€ gatsby-ssr.ts
β”œβ”€β”€ gatsby-wrapper.tsx
β”œβ”€β”€ jest.config.js
β”œβ”€β”€ jest-preprocess.js
β”œβ”€β”€ loadershim.js
β”œβ”€β”€ setup-test-env.js
β”œβ”€β”€ LICENSE
β”œβ”€β”€ package-lock.json
β”œβ”€β”€ package.json
β”œβ”€β”€ tsconfig.json
└── README.md

## πŸŽ“ Learning Gatsby

Looking for more guidance? Full documentation for Gatsby lives [on the website](https://www.gatsbyjs.org/). Here are some places to start:

- **For most developers, we recommend starting with our [in-depth tutorial for creating a site with Gatsby](https://www.gatsbyjs.org/tutorial/).** 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](https://www.gatsbyjs.org/docs/).** In particular, check out the _Guides_, _API Reference_, and _Advanced Tutorials_ sections in the sidebar.