Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Review #27

Open
wants to merge 29 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
6bebcf1
Added new Components
mayaatmeta Jun 13, 2024
5d03bde
Added App styling
mayaatmeta Jun 13, 2024
065f2a2
Added Modal styling
mayaatmeta Jun 13, 2024
d63990f
Added MovieCard styling
mayaatmeta Jun 13, 2024
e5d78ad
Added MovieCard Component
mayaatmeta Jun 13, 2024
026f9f2
Added MovieList styling
mayaatmeta Jun 13, 2024
883bfe1
Added MovieList Component
mayaatmeta Jun 13, 2024
7916f26
Added Search Component
mayaatmeta Jun 13, 2024
c3d439a
Added api key
mayaatmeta Jun 13, 2024
091f138
hid api key
mayaatmeta Jun 13, 2024
7472cab
edited file name
mayaatmeta Jun 13, 2024
147c02e
Added Modal Component
mayaatmeta Jun 13, 2024
2f3a39b
Working Modal
mayaatmeta Jun 13, 2024
c6f4bf5
Modal updated with runtime
mayaatmeta Jun 13, 2024
97585ba
Modal with runtime ✅
mayaatmeta Jun 13, 2024
c9ad1e3
Modal Component✅
mayaatmeta Jun 13, 2024
116414d
Added like and watched features
mayaatmeta Jun 13, 2024
677bb79
Filtering and Sorting feature✅
mayaatmeta Jun 14, 2024
e7fe6ff
Footer added
mayaatmeta Jun 14, 2024
80ebbb4
Working sidebar, no movies added.
mayaatmeta Jun 14, 2024
04a9369
Adding liked songs to side bar feature ✅
mayaatmeta Jun 14, 2024
d7d123c
Adding watched movies to sidebar feature✅
mayaatmeta Jun 14, 2024
ef5479d
Updated modal with poster background and embedded youtube trailer
mayaatmeta Jun 15, 2024
0ef6526
final css changes made
mayaatmeta Jun 15, 2024
58adaa7
Update README.md
mayaajike Jun 15, 2024
7b94bce
Update README.md
mayaajike Jun 15, 2024
6247b27
style updates
mayaatmeta Jun 20, 2024
e7f81f1
Merge branch 'main' of https://github.com/mayaajike/flixster-starter
mayaatmeta Jun 20, 2024
7d53211
Update README.md
mayaajike Jun 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
VITE_API_KEY=0d7613c1b95dbc61f3dd491c8f802475


# import.meta.env.VITE_API_KEY
72 changes: 67 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,70 @@
# React + Vite
## Unit Assignment: Flixster

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Submitted by: **MAYA ODY-AJIKE**

Currently, two official plugins are available:
Estimated time spent: **#>=45** hours spent in total

- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
Deployed Application (optional): [Flixster Deployed Site](https://flixster-starter-c8r7.onrender.com/)

### Application Features

#### CORE FEATURES


- [x] **Display Movies**
- [x] Users can view a list of current movies from The Movie Database API.
- [x] For each movie displayed, users can see its title, poster image, and votes.
- [x] Users can load more current movies by clicking a button at the bottom of the list (page should not be reloaded).
- [x] **Search Functionality**
- [x] Users can search for movies and view the results in a grid.
- [x] Users can clear results and view previous current movies displayed.
- [x] **Accessibility Features**
- [x] Website implements accessibility features (semantic HTML, color contrast, font sizing, alt text for images).
- [x] **Responsive Design**
- [x] Website implements responsive web design.
- [x] **Movie Details**
- [x] Users can view more details about a movie in a popup, such as runtime in minutes, backdrop poster, release date, genres, and/or an overview.
- [x] **Sorting Options**
- [x] Users can click on a filter by drop down to sort product by type (alphabetic, release date, rating).
- [x] **Layout**
- [x] Website displays header, banner, search, movie grid, about, contact, and footer section.

#### STRETCH FEATURES

- [x] **Deployment**
- [x] Website is deployed via Render.
- [x] **Embedded Movie Trailers**
- [x] Within the popup displaying a movie's details, users can play the movie trailer.
- [x] **Watched Checkbox**
- [x] For each movie displayed, users can mark the movie as watched.
- [x] **Favorite Button**
- [x] For each movie displayed, users can favorite the movie.
- [x] **Sidebar**
- [x] Users can open a sidebar
- [x] The sidebar displays the user's favorited and watched movies

### Walkthrough Video
[(https://www.youtube.com/watch?v=-rxltp0H8b4)]

### Reflection

* Did the topics discussed in your labs prepare you to complete the assignment? Be specific, which features in your weekly assignment did you feel unprepared to complete?

I felt unprepared handling the useState and useEffects, passing props from Parent to Child and Child back to Parents was also difficult for me. I also felt unprepared to access the data from the API calls at first, but after doing it multiple times I was able to get the hang of it.

* If you had more time, what would you have done differently? Would you have added additional features? Changed the way your project responded to a particular event, etc.

If I had more time I would have done more CSS designs and made my app a little more responsive. I would have also styled my side bar a lot better.

* Reflect on your project demo, what went well? Were there things that maybe didn't go as planned? Did you notice something that your peer did that you would like to try next time?

I think my demo went well, My peers did a lot of cool designs and animations and I would like to try some more of that next time.

### Open-source libraries used

- Add any links to open-source libraries used in your project.

### Shout out

Give a shout out to somebody from your cohort that especially helped you during your project. This can be a fellow peer, instructor, TA, mentor, etc.
Shoutout to Saja, Marvin, Carter, George, Makayla, Thomas, Jackie, and my manager Melissa everyone overall was super helpful!
78 changes: 73 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@
"preview": "vite preview"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.5.2",
"date-fns": "^3.6.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
"react-dom": "^18.2.0",
"react-icons": "^5.2.1",
"react-router-dom": "^6.23.1"
},
"devDependencies": {
"@types/react": "^18.2.66",
Expand All @@ -21,6 +25,6 @@
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"vite": "^5.2.0"
"vite": "^5.2.13"
}
}
Loading