🌐 Site
This frontend application is responsibile for taking care of the following user activities on the portal:
- View all the movie titles with their posters under a different movie types which include -
- Movies in theaters
- Coming soon
- Top rated Indian
- Top rated movies
- When under any movie type, search for a particular movie by typing the movie name in the searchbar
- Searchbar is case and space insensitive
- Default message if movie is not found using the name and/or connection error
- View all the details of a particular movie by the click of a button
- Expand the movie poster by clicking on the preview button in the details page
- Expand the movie poster by clicking on the preview button in the details page
- Favourite any movie by clicking the 'favourite' button
- Button is disabled if the movie is already present in favourites list
- Button is disabled if the movie is already present in favourites list
- Remove a favourite movie from the favourites list
- Home
- Landing Page
- Movies in theatre
- Coming soon
- Top rated Indian
- Top rated movies
- Favourties
- Movie Details
- Movie Card Item
- Poster
- Movie Title
- Info button
- Favourtie button
Contains all the public pages of the website which consist of a page for every movie type, favourties list and details of each movie.
A card template to place title, poster of each movie and two buttons - view movie details and add/remove from favourites list.
- React - v18.2.0
- Typescript - v4.8.4
- Bootstrap - v5.2.2
- React-bootstrap - v2.6.0
- React Router - v5.3.4
- Axios - v1.1.3
- JSON Server - v0.17.1
- Download and install the latest version of Node.js for development
- Clone the repo to your folder of choice
- Open the folder with VSCode (recommended)
- Open the terminal and install all dependencies using
npm install - Change directory to 'server' usign
cd server - Run
npm run start-serverto start the JSON server service onhttp://localhost:4001 - Open another instance of the terminal and change directory to 'client' using
cd client - Run
npm run startto start the react application - Hit
http://localhost:3000to access the frontend application