Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 1.57 KB

README.md

File metadata and controls

49 lines (30 loc) · 1.57 KB

Valhalla

Valhalla (Examples)

This repository contains a number of examples of using Valhalla and a given framework (like Next.js, Astro, and of course Gatsby). Other contributions are welcome.

Please make sure that a given framework has not already been added, and if you'd like to augment existing, PRs so welcome, and we'd love to make sure the code matches idiomatic standards for that given framework for data fetching, code standards, etc.

First, run yarn in the root of the repository after cloning. Then, run yarn in the given framework folder (or new framework) to install dependencies.

Frameworks

View live site

Note: since the Gatsby site produces the GraphQL API, it currently requires additional environment variables that are internal to the Gatsby team. The other examples, however, work off of the produced GraphQL API

cd frameworks/gatsby
yarn start

View live site

cd frameworks/nextjs
yarn dev

Link to Site

cd frameworks/astro
yarn dev

Content Sources

  • Contentful for the pups, cats, and exotics

  • WordPress for the blog

  • Shopify for the e-commerce functionality

  • 🚀 Valhalla API for powering them all, and producing a unified GraphQL API for use with any framework