Welcome to this broken app. As you complete each answer, commit your changes to Git. If you don't finish the bonus questions, 4 and 5 that's fine, just make sure you complete the final steps.
- This app doesn't start. What do you need to do to fix it?
- Commit your change
- Make a GET request to
/now. What's missing from here? Fix it.
- To fix this, assign the time to a variable then use string interpolation to inject the time.
- Commit your change
- Make a GET request to
/hi.
- What happened?
- How do you know where to fix the issue?
- What do you need to add to fix this?
- How can you prevent this from happening again?
- Commit your change
- [BONUS] POST to
/userswith the following data:
name=HackerYou,course=IntroToRails- [HINT] Use curl in your BASH console
- [DOUBLE BONUS] POST to
/bookswith the followin JSON data:
{"isbn": "abcdefg", "author": "Brad Robertson"}- [HINT] curl is once again your friend, but your data will be a bit different
- Try pushing your completed app back to Github
- What happens?
- Why do you think this doesn't work?
- Think of a way that you might be able to push this to Github, but not on the HackerYou account.