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

**TEMPORARILY SHUT DOWN**

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
    1
    git clone https://github.com/getbouncer/cardscan-web && cd cardscan-web
    Copied!
  2. 2.
    Install dependencies using NPM
    1
    npm install
    Copied!
  3. 3.
    Build the library using NPM and webpack
    1
    npm run build
    Copied!
    This will create a dist directory with the compiled javascript.
  4. 4.
    Start a local server to host the scanner and demo app
    1
    python -m SimpleHTTPServer 8000
    Copied!
  5. 5.
    Navigate to http://localhost:8000 to view a sample app.