Skip to content

Boulevard/promotion-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boulevard Client API Example Application

A sample repository showcasing a minimal integration with the Boulevard Client API, as seen on the Abundant Salon Promotion website.

For more information about Boulevard, check Boulevard's website.

For the latest API documentation, reference developers.blvd.co.

image

Building locally

git clone [email protected]:Boulevard/promotion-demo.git
cd promotion-demo && npm install

Replace the API credentials in index.html with your project's API credentials. To obtain API credentials, contact Boulevard Support [email protected].

To view the project locally, start the webpack development server via yarn start.

Folder Layout

This repository contains a minimal index.html (with the base markup and layout copied from Squarespace), along with two helper javascript class modules:

  • src/blvd.js - A wrapper around the Boulevard GraphQL Client API
  • src/payment-form.js - Helper functions for manipulating the html payment form

License

"Boulevard" and the Boulevard logo are copyright (c) 2019 Boulevard.

Boulevard source code is released under MIT License.

Check LICENSE files for more information.

Releases

No releases published

Packages

No packages published