I know it should be a simple program to log a list of episodes. But those two tasks are so similar in the case of providing output, so I played a bit with it though. Instead of using the terminal, run a simple development server and check results in browser.
- Open the project folder and run command
yarnornpm installto install all dependencies. - Run the project by
yarn start:devornpm start:dev.
On the website just search for the character, e.g Tuco Salamanca, or using comma for more like Walter White, Krazy-8
- You can also run all tests by command
yarn testornpm test.
Breaking Bad API is literally "break". They provided information about the characters parameter in the episode endpoint. Sadly, it wasn't implemented, so I search through the all episodes.
I would add:
- Tests to form module
- Errors handling and more guards
- Styles to HTML page
- Build script to package.json