This is a representation of a REST API used to control and obtain information regarding x number of thermostats in a home. There are two directories:
- apidocs
- contains swagger api documentation to provide a high level overview of all endpoints
- to view the API documentation
- cd apidocs
- python -m SimpleHTTPServer 8000
- navigate to http://localhost:8000
- server
- contains the executable API server and a full unit test suite to validate all endpoints included in the API
- to run the test suite
- cd server
- go test -v
- to run the web server
- cd server
- go run server