Giter VIP home page Giter VIP logo

top_stories's Introduction

Top Stories

Printing NYT Newspapers

Synopsis

A visually forward web app for browsing the top NYT stories of the day

User Capabilities

  • User can click on any topic of their choice and observe a visual grid of articles relating to that topic
  • User can utilize the search bar to query articles by various keywords such as title, people, and location
  • User hover over any image to see the article title fade in
  • User can click on any image to be taken to the 'detailed' view of their article of choice
  • User can utilize the two buttons at the bottom of the 'detailed' view to:
    • Open the article on NYT
    • Return to their topic section of choice

Technologies Used

  • React.js (bootstrapped with create-react-app)

    • React Router
    • Hooks
  • JSX / HTML

  • JavaScript ECMA6

  • CSS3

Challenges

Implementing React Router

  • Ensuring that the / path hits the 'home' endpoint
  • No additional calls are being made upon render of the ArticleDetails component
    • Which limits the capabilities of the useHistory and useMatchPath hooks

First time working with a process.env variable

  • Though not difficult to implement, took some additional research to understand how create-react-app compiles

Next Iterations

Responsiveness

  • Getting breakpoints down to mobile screen widths of 320px would be the next goal
  • Apply alt text to ArticleCard images

Testing

  • Testing is likely at 25 - 30 % coverage at the time of writing this README
  • Ensuring that stubbing is working properly will be essential to continuing the E2E testing process

Styling

  • Element transitions at present are very sharp due to lack of easing

top_stories's People

Contributors

monshan avatar

Watchers

 avatar

top_stories's Issues

Search/Sort/Filter

  • Build controlled form (searchbar)
  • Decide criteria for search/sort/filter
  • Write state logic
  • Test User Flow: User can search/sort/filter by desired criteria

Detailed View of Articles

  • Build component with relevant information
  • Test for accuracy/visibility/existence of relevant information
  • Style

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.