This pull request adds the Action model and seeds 3 Actions to the development database. Due to our limited time and prioritization of gameplay work, this PR only includes controller methods for retrieving all Actions, or retrieving a specific Action given its ID.
Closes #41
This pull request adds the
Action
model and seeds 3 Actions to the development database. Due to our limited time and prioritization of gameplay work, this PR only includes controller methods for retrieving all Actions, or retrieving a specific Action given its ID.Example requests:
/api/action
/api/action/:id
id
===:id
Sample GET
/api/action/1
Response Body: