1.0.0 • Published 4 years ago

deals-service v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

deals-service

This repository contains service for management of the deals. Currently, used for managing 3rd party deals (potentially migrate existing deals from property-service to this service)

Infrastructure

Storage - DynamoDB Integrations - API Gateway

Testing

npm test

Integrations

None

Running locally

  1. docker-compose up
  2. import dynamodb schema from ./offline/dynamo-schema.json to local dynamoDB
  3. npm run offline

Generating JSON schema

MODEL=XXX npm run generate-json-schema - check package.json for details

Generating swagger components

  1. Make sure that json schema exists
  2. ./generateSwaggerComponents.sh
  3. copy relevant content of generated file to swagger.yml
  4. keep only those components that you need