You have already solved the explosion and mumbling katas. The client loves your solution so much that they want you to turn it into an API us on the web.
For this assignment, create a simple API with two endpoints, one for the explosion and one for the mumbling.
Objectives
Create a simple API
Practice problem solving
Requirements
Create 2 endpoints, /api/mumbling and api/explosion, that are based off of the katas,[https://www.codewars.com/kata/mumbling](https://www.codewars.com/kata/mumbling) and [https://www.codewars.com/kata/digits-explosion](https://www.codewars.com/kata/digits-explosion) respectfully.
Explorer Mode
[ ] Create a new sdg-api api project
[ ] Create a endpoint for the mumbling endpoint
[ ] Create a new Controller called MumblingController
Explosion Api
You have already solved the
explosion
andmumbling
katas. The client loves your solution so much that they want you to turn it into an API us on the web.For this assignment, create a simple API with two endpoints, one for the
explosion
and one for themumbling
.Objectives
Requirements
/api/mumbling
andapi/explosion
, that are based off of the katas,[https://www.codewars.com/kata/mumbling](https://www.codewars.com/kata/mumbling)
and[https://www.codewars.com/kata/digits-explosion](https://www.codewars.com/kata/digits-explosion)
respectfully.Explorer Mode
sdg-api
api projectmumbling
endpointMumblingController
HttpGet
string
explosion
endpointExplosionController
HttpGet
string
Adventure mode
Instead of just returning a string, look into how to return a JSON object instead. HINT: use classes.
We have been talking about databases in the previous lessons. Let's add a couple of our endpoints that interact with a database.
[ ] Create a endpoint for the
CheckIn
endpointCheckInController
HttpPost
ActionResult
[ ] This controller will have a second endpoint
HttpGet
ActionResult
Epic mode
Resources