Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 727 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 727 Bytes

Introduction

A simple service for Auction utilizing serverless framework with cloudformation templates.

image info

Deploying

Service is deployed in aws CloudFormation

cd auction-service/ # or auth-service/
npm install
sls deploy -v

To redeploy a specific fuction ` sls deploy -f -v

To remove existing deployment sls remove -v

Gateway endpoint

https://dotsmz9pbg.execute-api.eu-west-1.amazonaws.com/{env}/{resource}

Possible values for variable include dev, staging and production

Taling the logs

sls logs -f <functionName> -t

Endpoints:

    POST - /auction
    GET - /auctions
    GET - /auction/{id}
    PATCH - /auction/{id}