🚀 A boilerplate to help you create scalable and fast websites
- PWA ready
- SEO
- Build time and runtime data fetching
- Modern JavaScript
- Fast build time (~ 1 min)
- Google Analytics integration
- Accessibility best practices
Clone this repository
git clone git@github.com:maplessmann/gatsby-boilerplate.git
Install dependencies using your favourite package manager
yarn
or
npm install
For the build time data fetching example to work, you'll need to create a .env
file in the root directory with your github token:
touch .env
Open the file and add the GITHUB_TOKEN variable
GITHUB_TOKEN=<YOUR_GITHUB_TOKEN>
See how to create an access token in the GitHub's documentation. You'll need to set the scope read:user
for this example.
Run the project
yarn start
or
npm run start
Open the local server at localhost:8000