dr-services-accelerate-payment

1.6.0 • Public • Published

dr-services-accelerate-payment

Payment Service - 2.0 This service provides access to Payment information from Payment Service 3.0

Run locally

Prequesite:

  • SAM Installed
  • Nodejs 10.14.1

In order to run this locally, First make sure that you have SAM CLI installed. If you are not sure if you have it installed, you can verify by doing:

  • sam --version

You'll need to create an .env file in the project root with the following keys.

FNI_OAUTH_URL=VALUE
FNI_CLIENT_SECRET=VALUE
FNI_CLIENT_ID=VALUE
FNI_CLIENT_SCOPES=VALUE

Please reach out Horsepower Team member to get these values for the keys

Once you've successfully verified that you have SAM CLI installed, and .env file created with the proper credentials, then you can run the following command to run the app locally

  • npm run start-local

To contribute to Accelerate Payment Service:

As of 08/11/2019, core contributers are:

  1. Krunal Thakkar
  2. Esterling Accime
  3. Julia Finarovsky
  4. Sam Grayson
  5. Shawn Tannor
  6. Laura Beall

Collaboration Rules:

  1. Two Core Contributors must approve of any PRs; the second approver will merge
  2. Unit tests are required on logic or orchestration changes.

Contribution Rules:

  1. PRs need to be submitted by last Friday of sprint to be considered for release
  2. PRs will be reviewed within 2 business days.
  3. Add an expected date of deployment in the PR description or a comment (e.g. - deployment to production is Wednesday morning of next iteration; staged Tuesday)

Docker

https://fuel.coxautoinc.com/docs/DOC-120686

File Structure

alt text

Resources:

Scripts

start-local

  • Runs all checks and starts the API locally

sam-build

  • Builds with the SAM cli

sam-build-run

  • Builds compiled typescript with Sam cli and runs api

sam-run-local

  • Runs api locally without building

check-environment

  • Checks for the presence of SAM cli as well as correct node version

check-sam

  • Checks for the presence of SAM cli

check-node-version

  • Checks for the presence of the correct node version

pretest

  • Runs npm build

deploy

  • Packages AWS artifacts and deploys

test

  • Runs linting and full test suite

specific-test

  • Runs linting and runs specific test file specified by TEST=testfilename

test-watch

  • Lints, and runs all tests and watches for changes

specific-test-watch

  • Lints and runs/watches a specific test file specified by TEST=testfilename

lint

  • Runs tslint

tslint-fix

  • Runs tslint and attempts to fix errors

build

  • Runs gulp to build and compile typescript code

clean

  • Runs gulp to clean source code directory

start

  • Runs gulp start script

prepackage

  • Runs gulp clean and npm build

package

  • Packages AWS artifcats

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.6.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.6.0
    1

Package Sidebar

Install

npm i dr-services-accelerate-payment

Weekly Downloads

1

Version

1.6.0

License

ISC

Unpacked Size

312 kB

Total Files

152

Last publish

Collaborators

  • mmd-devops