Skip to content

xyzcocktail/scalapay-nodejs

Repository files navigation

Scalapay Coding Assignment

The goal is to write a simple app using the Scalapay API.

Our Scalapay API docs can be found here: API DOC LINK

Please write an interface that:

  1. Displays configuration

    • Presents the v2/configuration response to the user
  2. Create an order

    • Prompt the user to enter the fields required to create an order
    • Call the v2/orders endpoint
    • Redirect the user to the checkoutUrl provided in the response

Usage

Local

$ git clone git@github.com:xyzcocktail/scalapay-nodejs.git
$ cd scalapay-nodejs  
$ yarn install (or npm install) 
$ yarn test (or jest)  
$ yarn start (or npm run start) 

Docker

$ git clone git@github.com:xyzcocktail/scalapay-nodejs.git
$ cd scalapay-nodejs
$ docker build -t scalapay-node-app . 
$ docker run -p 3000:3000 -d scalapay-node-app 

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages