johnsschoenberg4130 / seniordev-taks-repo

senior developer test repo
0 stars 0 forks source link

stuff #1

Open cchatfield opened 1 year ago

cchatfield commented 1 year ago

Typescript

Exercise (timed 1.5 hr)

Create a service that exposes a rest endpoint (port 30000).

Create ping endpoint (post via rest) that takes an incoming parameter named “message” and returns an object with the following parameters:

echo - response from postman echo service (Postman Echo ) called with ?message=[message param incoming value]

timestamp - current unix time

env - the current environment from the config

version - the current build version

Provide swagger endpoint for the rest service

Provide unit tests for service

Provide integration tests for service

Organize code in a maintainable way.

johnsschoenberg4130 commented 1 year ago

@cchatfield , when you are asking me to ping the endpoint. I am supplying the following parameters to the API you have listed above in the outline. correct?

cchatfield commented 1 year ago

the ping endpoint takes the message parameter. You pass the message parameter to the echo endpoint.