PLEASE COMMENT YOUR CODE. Do not clone this repository. Instead, download the zip, extract the contents,
git init
,git add .
,git commit -m "initial commit - base project"
and add your remote.
This project is a movie application similar to a very basic IMDB
- Created a database named
saga_movies_weekend
- Ran the queries from
database.sql
on thesaga_movies_weekend
database. - Created the junction table between the
movies
andgenres
tables
npm install
npm run server
npm run client
Added and change movie dramas with Postico.
Movie images added in public file
Genres can be applied to many different movies. Movies can have multiple genres.
Displays all of the movies in the movie database. When a movie poster is clicked, the user will be brought to the /details
view.
Shows all details including genres, for the selected movie.
The details page has the buttons:
Back to List
button, brings the user to the Home PageEdit
button, brings the user to the Edit Page
This shows:
- an input field (for changing the movie title), for the selected movie.
- a textarea (for changing the movie description)
The details page has the buttons:
Cancel
button, brings the user to the Details PageSave
button, updates the title and description in the database and bring the user to the Details Page