Skip to content

rahul10puchd/ha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Housing-Anywhere

Go code challenge.

This application returns calculated location for the drones for locating data store point.

Notes

  • Go modules used when building the app
  • App has 1 post endpoint to calculate and return location and 1 healthcheck to ensure if it is up and ready
  • Default port is 5000
  • Application handles most of the errors by checking posted values and logs accordingly.
  • SectorID for observed sector has been kept in configuration and does not change at the runtime.
    It can be editable through: config.json

How-to-run-app

docker build -t dns .
docker run -p 5000:5000 -d dns:latest

Location endpoint serves under http://localhost:5000/api/v1/dns
Healtcheck endpoint serves under http://localhost:5000/api/v1/health

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published