CODE BASE | CODE RUN | CONTACT |
---|---|---|
Get Project | How to run | Contact us |
Cine Rental - Movie Rental Website
Cine Rental is a basic movie rental website built using React.js. It allows users to browse a list of available movies, view movie details, add movies to a shopping cart, remove movies from the cart, and toggle between light and dark modes for better user experience.
Features:
-
Movie List: Browse through a collection of available movies with details such as title, genre, and description.
-
Movie Details: Click on a movie to view more details including the synopsis, release year, and rating.
-
Shopping Cart: Add movies to a shopping cart for rental. Remove movies from the cart if no longer desired.
-
Dark Mode: Toggle between light and dark modes for better readability and reduced eye strain.
React Hooks Used:
-
useState: Used for managing local component state, such as toggling between light and dark modes.
-
useContext: Utilized for managing global application state, such as sharing the shopping cart state across multiple components.
-
useReducer: Implemented for managing more complex state transitions, such as adding and removing movies from the shopping cart.
Please follow the below instructions to run this branch in your machine:
-
Login to the GitHub account on which you have been granted access to this repository. If you have purchased the course but didn't get the access to this repository, please contact our support team. You will find contact details below.
-
Clone this repository -
git clone https://github.com/komol-chandra/cine-rental-app.git
-
Go to the cloned project directory
cd cine-rental-app
-
Checkout/switch to branch master
git checkout master
-
Just run this command to install node dependencies
npm i
-
Just run this command
npm run dev
-
Live
https://cine-rental-app-inky.vercel.app/