Development guide

**TEMPORARILY SHUT DOWN** Developing the cardscan-web library.


Bouncer has been acquired by Stripe! As a result, this library will be non-functional while we transition our network endpoints to Stripe infrastructure. We expect to have the transition completed by the end of Q3 2021.

Clone the repo and set up the demo

The cardscan repository contains a demonstration app for the CardScan product. To build and install this library follow the following steps:
  1. 1.
    Clone the repository from github
    git clone && cd cardscan-web
  2. 2.
    Install dependencies using NPM
    npm install
  3. 3.
    Build the library using NPM and webpack
    npm run build
    This will create a dist directory with the compiled javascript.
  4. 4.
    Start a local server to host the scanner and demo app
    python -m SimpleHTTPServer 8000
  5. 5.
    Navigate to http://localhost:8000 to view a sample app.