In this project I did my first CRUD (Create, Read, Update and Delete) and improved my knowledge of props and state in React. I also learned how to use CSS libs in React to speed up development.
The following tools were used in the construction of the project:
After each of the steps, there will be an example of the command to be typed to do what is being asked, if you have difficulties and the example is not enough, do not hesitate to contact me at [email protected].
- Open the terminal and create a directory in the location of your choice with the command mkdir:
mkdir projects-igorln
- Enter the directory you just created and then clone the project:
cd projects-igorln
git clone git@github.com:igorln/movie-cards.git
- Access the project directory and then use the command npm i to install all necessary dependencies:
cd movie-cards
npm i
- Finally, run the command npm start and access the project via browser, in the path
http://localhost:3000/movie-cards
.
Create a CRUD of movie cards in React. The acronym CRUD means Create, Read, Update and Delete, so it should be possible to perform the following operations on this project:
- Add a new movie to the list - CREATE;
- List all registered films, with a summary information page for each film and a detailed information page for a selected film - READ;
- Edit a movie in the list - UPDATE;
- And delete a movie from the list - DELETE;