Giter Site home page Giter Site logo

curology's Introduction

Gary Zhao's Coding Submission for Curlogy.

View live site here: https://www.garyzhao.com/curology/

Available Scripts

In the project directory, you can run:

npm i && npm start

On first load, run the above commands in CLI to install appropriate dependenices and runs the app in development mode (see below).

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Challenges

Calling API for images from TMDB

Because of the way TMDB had destructured how images are pulled from their API, I found it not straightforward and a bit tricky at first. Thankfully, their documentation is ๐Ÿ”ฅ; after a quick read, I was able to figure it out.

Pagination

Figuring out the pagination was a bit tricky because I had to think about logic of how the pages will be displayed.

Design Choices

Pretty much followed what screenshot I received from the Google Doc. The only thing that I made a change to is how the stars are displayed. Instead of showing ten stars and filling the stars according to the movie's rating, I copied the way IMDB displayed their star rating. The result was simplier to code and displays the same information.

Improvements if I had more time

If I had more time, I would definitely incorporate some sorting feature, like sort according according to number of stars, alphabetical order, descending and ascending order, etc.

Another feature would to make lists and have them be shareable. The idea would be for the user to be able to curate a list of movies and have that list be in a specific url, so it will be shareable.

This project was bootstrapped with Create React App.

curology's People

Contributors

garyjzhao avatar

Watchers

 avatar

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.