This app implements a small RESTful application using API Gateway, Lambda, and DynamoDB.
You can create report cards and retrieve them through a very nice API! Store the scores of your favorite subjects - which are science, math, german, english, and arts, of course!
Run make setup
and then make destroy
to tear down.
make create_db
starts the DynamoDB database locallymake create_tables
will create a tablemake start_api
will start a local version of the API
Once the API is running, we can use curl
as our HTTP client
curl -X POST -d '{"german":100,"english":97,"math":56,"art":3,"science":78}' localhost:3000/report_cards
will create a report card. (The first request can be slow).curl localhost:3000/report_cards/{report-card-id}
will retreive one by IDcurl localhost:3000/report_cards
will retreive all report cards
This project is for education and is provided as-is :).