Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 823 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 823 Bytes

SpartaTodoBackend

Sparta application that demonstrates provisioning an REST style API that satisfies the https://todobackend.com spec tests

Instructions

  1. git clone https://github.com/mweagle/SpartaTodoBackend
  2. cd SpartaTodoBackend
  3. go get -u -v ./...
  4. go get -u -d github.com/magefile/mage
  5. S3_BUCKET=<MY_S3_BUCKET_NAME> mage provision
  6. In the Stack output section of the log, look for the API Gateway URL key and copy it (eg: https://XXXXXXXXXX.execute-api.us-west-2.amazonaws.com/v1).
  7. Visit https://www.todobackend.com/specs/ and test your new API
  • Make sure to include the /v1/todos path to your new API

Result

Test Results