Giter Club home page Giter Club logo

ny-times's Introduction

Hunter Times

Table of Contents

Introduction

  • This app uses the NYTimes API in order to make a site that you can come to for your daily news. The site allows users to see all the top stories from the day. A user can filter through the category of their choosing and view all article related to that category. A user can then see more details on the article and they have the option to view the article on the
  • Hunter Times Deployed Link

Technologies

React JavaScriptHTML5CSS3NodeJSReact RouterGitHub

Illustrations

nytimes Screen Shot 2023-01-13 at 9 11 13 AM Screen Shot 2023-01-12 at 10 08 59 AM Screen Shot 2023-01-13 at 9 24 57 AM

Wins and Challenges

  • The first area of code I was particularly proud of was my buttons on my nav bar. I wanted to ensure that none of the buttons would take you to a blank page because nothing is more frustrating for a user. So to mitigate this issue I built the buttons using the data, not hard coding them. This allows the buttons to change based on the articles for the day.

Screen Shot 2023-01-12 at 2 31 36 PM

  • A challegne for me was that some of the data didn’t contain an image link and the null reading would crash the app. I found a solution using a ternary operator.

Screen Shot 2023-01-12 at 2 17 59 PM

Features

  • As, a user, I should be able to navigate to a home page, and view a list of todays top stories.
  • As a user, I should be able to click a story and be taken to more details about the article.
  • As a user, I should be able to be redirected to NY times to read the full article.
  • As a user, I should be able to filter the articles by topic from the buttons at the top.

Possible Future Extensions

  • Future extension would be testing the application using cypress.
  • Future extension would change the Navbar to have hamburger icon when it is in mobile view.

Sources

Screen Shot 2023-01-13 at 9 35 55 AM

Contributors

Hunter Monroe

GitHub Badge

LinkedIn Badge

Project Specs

Setup

After one person has gone through the steps of cloning down this repo and editing the remote, everyone should clone down the repo.

Then install the library dependencies. Run:

npm install

To verify that it is setup correctly, run npm start in your terminal. Go to http://localhost:3000/.

ny-times's People

Contributors

hmonroe2 avatar

Watchers

 avatar

ny-times's Issues

Sort by Category

  • As a user, I should be able to filter the articles by topic from
    the buttons at the top.

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.