Using json-server like we did in class, you have the Star Wars API db at your disposal. json-server is already installed and you have a script to start it.
You will not get any hints to help with implementing this homework!
- Implement a Film list using the films from the DB
- List the films as a grid of cards
- Style the cards so that they are in a grid of 3 columns
- Use the CSS Modules technique we learned in class
- Use clsx where necessary, note that it is not installed!
- Implement an Add Film component, put it below the list of films
- This should be the same kind of form as in the previous homework
- Implement the add functionality so that the Film gets added to the db.json file and the grid is updated at the same timne
- Remember, no page reloads!
- Implement the delete functionality for Films, just a button on the film card, use confirm to confirm the delete action