platform-vendor-v2

Vendor microservice

Usage no npm install needed!

<script type="module">
  import platformVendorV2 from 'https://cdn.skypack.dev/platform-vendor-v2';
</script>

README

How to start a project

# Copy the config file and edit the .env- it accesses the database and other settings
cp .env.example .env
# Install requirements
npm ci
# Run the local project
npm run start:dev

How to synchronize Square Swagger typings

# You would need to use https://github.com/square/connect-api-specification

Just clone the project and use following config in swagger-config:

{
  "packageName": "Square.Connect",
  "packageVersion": "2.20180712.0",
  "httpUserAgent": "Square-Connect-typescript-angular/2.20180712.0",
  "gitUserId": "square",
  "gitRepoId": "connect-typescript-angular-sdk",
  "modelPropertyNaming": "original"
}