Skip to content

Voucherify sample application | Use cases: online coupons, prepaid vouchers, in-app promo codes

License

Notifications You must be signed in to change notification settings

voucherifyio/voucherify-nodejs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voucherify - Node.js SDK sample application

Overview

This sample application shows the basic workflow of Voucherify and presents the supported voucher types. You can try out the Live Version or deploy an instance bound to your account through Heroku button.

Implemented with our Node.js SDK and Voucheriy.js client library.


Voucherify is an API-first platform for software developers who are dissatisfied with high-maintenance custom coupon software. Our product is a coupon infrastructure through API that provides a quicker way to build coupon generation, distribution and tracking. Unlike legacy coupon software we have:

  • an API-first SaaS platform that enables customisation of every aspect of coupon campaigns
  • a management console that helps cut down maintenance and reporting overhead
  • an infrastructure to scale up coupon activity in no time

Setup

It is really simple to setup this app. Only what you need to do is follow the steps listed below:

  1. You need a set of Application Keys and Client-side Keys to connect with Voucherify Platform. Visit App.

  2. After signing up you need also add your domain to Voucherify's whitelist. When you go to configuration view of Voucherify account, "Your website URL" is used for allowing client requests only from given domain. You have to put there your website url or set * if you want to enable requests from any origin.

  3. Press this button to create a Heroku app

    Deploy to Heroku

    Wait until the Deploy Window is open.

  4. After opening the Deploy Window, please go to the Configuration page.

    Copy App Keys from the Configuration page and paste these keys into proper input fields in the Deploy Window.

  5. In the Deploy Window after filling all required inputs click a Deploy Button located on the end of page. Wait until the Deploying Process is finish.

  6. After finishing process you can go to the Manage Panel or visit the Voucherify Example page.

Commands

  • $ npm run start - runs the application

Help

Disclaimer

This code is provided as is and is only intended to be used for illustration purposes. This code is not production-ready and is not meant to be used in a production environment. This repository is to be used as a tool to help developers learn how to integrate with Voucherify. Any use of this repository or any of its code in a production environment is highly discouraged.

About

Voucherify sample application | Use cases: online coupons, prepaid vouchers, in-app promo codes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published