Giter VIP home page Giter VIP logo

gridsome-starter-elliot's Introduction

Elliot Starter for Gridsome

A headless Ecommerce starter for Gridsome, using Elliot.

This uses the Elliot source plugin (gridsome-source-elliot) to fetch data from Elliot, and download images for use with g-image.

Elliot provides checkout & order API's to allow you a completely customised checkout experience, and this starter makes use of those. See it in action!

Elliot Setup

You will need your Elliot keys to get started - follow the steps below to do so:

  1. Login to Elliot Admin
  2. Choose a Domain Space
  3. Click on 'Get Headless' under the Developers section
  4. Choose an Experience, and click 'Copy Variables to Continue'

It is recommended to add these to a .env file at the root of your project, as these are secret keys, and should NOT be exposed or included in a git repository etc.

Installation

Install the Gridsome CLI.

npm install -g @gridsome/cli # or
yarn global add @gridsome/cli

Create Project

You can either directly download this repository, or use Gridsome's CLI to download and install dependencies for you.

# Clone repository
git clone https://github.com/thetre97/gridsome-starter-elliot.git
npm install # or
yarn install

# Download with CLI
gridsome create my-gridsome-site thetre97/gridsome-starter-elliot

Developing

Once you have your Elliot API keys (follow the steps above), add them to a .env file in the project root.

.env

ELLIOT_KEYS="<paste variable string here>"

You can edit the source plugin options under gridsome.config.js if needed.

Run gridsome develop in the project root to start the local development server.

Take it away! The sky is the limit.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.