Skip to content

React application made using Next.js and Context API to search for movies and add the favorite ones to a nomination list. Inspired from the Shopify Frontend Developer application track.

Notifications You must be signed in to change notification settings

pinkman7009/Movie-Nominations-

Repository files navigation

License: MIT Maintenance Ask Me Anything ! GitHub forks GitHub stars GitHub issues Open Source Love svg1

The Shoppies

Search for movies and shows and add them to your nominations for the next Shoppies! Built for the Shopify Frontend Developer Intern Challenge.

Features

  1. Search for movies and shows.
  2. List movie data and nominate 5 of them.
  3. Uses the OMDB API to fetch data for movies and shows. ( http://www.omdbapi.com/ )
  4. Stores user's nominations as cookies in the browser.

Built with

  1. next.js v10 with react v17: Routing made much easier with Next.js and also image optimization provided by next/image.
  2. Context API: Used in state management for nominations which is built in React.
  3. react-spinners: For loading animations
  4. js-cookie: To store the user's nominations in cookies.

Screenshots

Home page

Movie page

To Run

  1. Clone into repo
  2. Run npm install
  3. Run touch .env to create a file for your environment variables. Necessary variables are API_KEY and NEXT_PUBLIC_API_KEY to store your API key.
  4. Get your API key from http://www.omdbapi.com/
  5. Run npm run dev

Live Demo

https://movie-nominations.pinkman7009.vercel.app/

About

React application made using Next.js and Context API to search for movies and add the favorite ones to a nomination list. Inspired from the Shopify Frontend Developer application track.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published