Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/vendure-ecommerce/storefront-gatsby-starter

A storefront for Vendure built with Gatsby
https://github.com/vendure-ecommerce/storefront-gatsby-starter

commerc ecommerce gatsby headless headless-commerce

Last synced: 2 months ago
JSON representation

A storefront for Vendure built with Gatsby

Awesome Lists containing this project

README

        

# Vendure Gatsby Storefront Starter

A storefront for [Vendure](https://www.vendure.io/) built with [Gatsby](https://www.gatsbyjs.com/).

## To do:

* Cart
* Checkout flow
* Search facet filters
* Customer account management

**Contributions welcome!**

## Development

1. `npm install`
2. Create an `.env.development` file defining the following environment variables:
```
GATSBY_VENDURE_SHOP_API_URL=https://readonlydemo.vendure.io/shop-api
# or
GATSBY_VENDURE_SHOP_API_URL=http://localhost:3000/shop-api
```
3. If using local Vendure server, ensure you have `apiOptions.tokenMethod` set to `'bearer'` or `['bearer', 'cookie']` - this storefront requires bearer tokens.
4. `npm run develop`