amorriscode / shopify-frontend-challenge

🍿 Nominate for your favourite movies for the 2021 Shoppies

Home Page:https://shopify-frontend-challenge.amorriscode.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to the Shoppies 🍿

Demo of my Shopify front-end challenge

This repo contains my code for the Shopify 2021 front-end developer internship.

Features

  • Search OMDB for your favourite movies
  • Sorting search results
  • Add movies to your nominations list (stored in local storage)
  • Dynamic banner to hype you up for the Shoppies
  • Display metascore for your nominations

Get It Running

  1. git clone to your favourite working directory
  2. yarn to create a large folder of node_modules
  3. Copy .env.example to .env.local and put your OMDB API key in it
  4. yarn dev to prepare for the Shoppies

The Challenge

(View the original challenge)

We need a webpage that can search OMDB for movies, and allow the user to save their favourite films they feel should be up for nomination. When they've selected 5 nominees they should be notified they're finished.

We'd like a simple to use interface that makes it easy to:

  • Search OMDB and display the results (movies only)
  • Add a movie from the search results to our nomination list
  • View the list of films already nominated
  • Remove a nominee from the nomination list

Technical requirements

  1. Search results should come from OMDB's API (free API key: http://www.omdbapi.com/apikey.aspx).
  2. Each search result should list at least its title, year of release and a button to nominate that film.
  3. Updates to the search terms should update the result list
  4. Movies in search results can be added and removed from the nomination list.
  5. If a search result has already been nominated, disable its nominate button.
  6. Display a banner when the user has 5 nominations.

The Stack

It's a small app built with Next.js and OMDB.

I chose Next.js because I like using React. Next.js makes it easy to get moving fast while providing a boatload of benefits. I try to spend my time where it'll have the most impact and Next.js helps with that.

Any styling super powers I have are thanks to Tailwind CSS. I love it, I bet you would too.

The Developer

My name is Anthony Morris.

I'm an ex-software engineer turned computer science student. I'm doing things a little backwards, but hey, we're all on our own unique journeys, right?

Curious to see more of what I've done? Visit me at my digital garden!

About

🍿 Nominate for your favourite movies for the 2021 Shoppies

https://shopify-frontend-challenge.amorriscode.vercel.app/


Languages

Language:JavaScript 99.3%Language:CSS 0.6%Language:Shell 0.1%