Git Product home page Git Product logo

api-demo's Introduction

Developer API Demo

A simple web app that showcases Lithic's Developer API implemented with Vue and Express. Download the project and run it locally or check it out at https://demo.lithic.com/

The Lithic developer API provides a predictable and programmatic interface to create and configure virtual cards. Get real-time payment data, programmatically issue cards, configure card permissions, and set spend limits all through the API.

Overview

The project is a simplified recreation of the main Lithic site in Vue with an Express backend. The right sidebar prints every API call the project makes to the Developer API to illustrate what is going on for every page. This demo covers the following endpoints:

Endpoints Description
/card Create, update, and fetch virtual cards with limits, vendor locks, and more.
/embed/card To comply with Payment Card Industry Data Security Standards (PCI DSS), retrieving a card's PAN number, expiration date, and CVV requires rendering an iframe, which we demonstrate here. Learn more about how we stay PCI compliant in our documentation
/transaction Fetch transactions from all your virtual cards.
/fundingsource Create and fetch funding cards and accounts.
/simulate While using our sandbox, use our /simulate endpoint to create transactions and modify their states to further emulate real-world interaction.

Running the Project

You can run the project locally or in Docker containers. To start, first update the .env file with your sandbox API key. This step is optional but will persist your api-key.

Running Locally

Install dependencies with npm:

npm install

The demo uses both Vue and Express which can be run locally using:

npm run serve

Alternatively, you can run in separate windows

npm run serve:app
npm run serve:server

to run the two processes separately.

Running in Docker

Launch the docker containers using docker-compose.

docker-compose up -d

Images

Home Page

Cards Page

Card Page

Transactions Page

api-demo's People

Contributors

penguinland avatar peterhriser avatar ryanylee avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.