Science is important in this exercise....
We are going to build a minimalist version of Rick & Morty Database with a favorites list.
Do not clone this repository. The first step to start coding is to set up express from scratch or use express-generator.
a) If you use Gitpod (recommended) you can create your repository first and then open it in gitpod and modify it.
b) If you work locally, set up your project first and then link to your remote git repository.
favorites
array within the application and creating the necessary paths to modify the favorites array.Note: please, to be able to use fetch inside node it is necessary to install node-fetch.
Important: The API provides the images. The focus of this exercise is to practice fetch; you can focus on a theme of color and simple design to make it look good.
Use all the information that the API delivers (check the docs and/or json responses).
It implements a read-after functionality, ie a button that allows the user to "save" the item (character, location or episode) in a special list. This list will be displayed at the bottom of the home page, it is similar to the main list, but it only shows the "saved" items.
The following functions are not required for the final solution, but you can develop them if you feel confident enough:
+ 1
Prevent the website from fetching the Rick and Morty API again if it updates (you can use local storage to save the store in the local browser).
+ 3
Implement an autocomplete search bar for Characters and Locations. When you click autocomplete, it should take you to the Character or Location page.