IMDB – the Internet Movie Database (owned by Amazon) – famously does not provide an API to access data about the millions of movies and TV shows indexed on their website. That doesn't mean there can't be one! It's up to you to create it.
Begin by heading over to the starter project – select "Use this template", then create a repository in your own GitHub account called hw6. Clone this project and open it in VSCode.
Open a VSCode Terminal and (making sure you're in the right project directory) type npm install – don't skip this step! – this will install all the necessary software needed to run the back-end application. Then, type netlify dev to start the back-end server.
Open /.netlify/functions/movies in Chrome. Nothing there yet! Then, open the code for the lambda function, located in /netlify/functions/movies.js and get coding!
While IMDB does not have a live, open API for developers, they do provide file-based downloads to their raw data. A sample of that data has been downloaded and provided at movies.csv. The code for reading that data into a JavaScript object has also already been provided. Your job is to create a JSON-based API for front-end JavaScript developers to use.
All your work should take place in /netlify/functions/movies.js; i.e. that should be the only file that's modified from the original project template. Your finished product should live in your GitHub account at https://github.com/<your GitHub username>/hw6, and this URL should be submitted as the "website URL" for this assignment in Canvas.