Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In this challenge, you'll list all of the flights in the express application as JSON. The first objective for this challenge is to use the same set of data used by the other route handlers. The next objective is to make the data available at the route, slash list, slash JSON. Finally, make sure the other routes still work as intended after you make the changes. I've included some code in the exercise files to get your started. It's located in chapter 5, video 7. This challenge should take about 10 minutes to complete. When you're done make sure to check out my solution video, where I'll show how I created this route as well as a pitfall to avoid.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 101575 Viewers
61 Video lessons · 88344 Viewers
71 Video lessons · 72193 Viewers
56 Video lessons · 103942 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.