Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 1.36 KB

README.md

File metadata and controls

36 lines (20 loc) · 1.36 KB

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.