Giter VIP home page Giter VIP logo

react-assignment's Introduction

React Assignment

How to use the repo

  1. Fork this repo from your github profile
  2. Clone to your device from the forked repo
  3. Run yarn install and yarn start

Application Features

Feature 1:

User should be able to see a list of movies with a call to action Book now on hovering over the movie thumbnail.

Please check the following references:

Homescreen

Movie Thumbnail default state

Movie Thumbnail hover state

Feature 2:

When user searches for a movie, relevant movie must be displayed, the ui layout will look to similar to homescreen.

Feature 3:

When the user searches for a search term that is not available in the database, the user should see the no data available screen

No result screen

Feature 3:

When the user clicks on book now button, they need to redirected to the url /book/{id}/{movie-name}. The screen will have options to select seats, show already booked seats and a call to action to confirm booking.

Feature 4:

User should be able click on the confirm booking button, they should see a modal with details of the movie thumbnail, seats they selected and prices. When the user closes the modal they should be taken back to the booking screen.

Technical Pointers

  1. Use styled components for styling
  2. Use local storage to persist the data between refreshes
  3. Use custom hooks if needed for example when fetching data for trending movies and movies search
  4. Try to keep the components more resusable
  5. Follow clean code practices in naming variables, functions and components
  6. Use SVG for some assets
  7. Keep your commits small and follow the conventional commits
  8. Make sure you commits are signed

Resources

  1. Styled components
  2. Local storage api
  3. Clean code
  4. Conventional Commits
  5. Convention commits extension
  6. Setup Signed Commits

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.