Giter Club home page Giter Club logo

new-york-times's Introduction

NY Times

Description

This project is a web application that fetches and displays articles from the New York Times Most Popular API. Users can view popular articles and see detailed information about each article.

Following are the routes/pages present in this application -

  1. Master/List page - this page will fetch the most popular API from New York Times API and displays it using Grid layout
  2. Details Page - this page will display the details of the selected article

Screenshots

  1. Master/List Page master list page

  2. Details Page details page

Installation

  1. Clone the repository:

    git clone <repository-url>
    
  2. Change directory to the newly cloned folder:

    cd ny-times
    
  3. Install dependencies:

    npm install
    

    OR

    yarn
    

Usage

To start the development server, run:

npm start

OR

yarn start

The application will run default in Port 3000. Access it via web browser at http://localhost:3000

Tech stack

  • React v18.2
  • React Router v6
  • Redux Toolkit with RTK Query v2
  • Material UI v5
  • React testing library
  • Jest
  • Cypress
  • ESlint for linting
  • Prettier for code formatting
  • SonarQube for code anaylsis

Scripts

  • start: Start the development server.
  • build: Build the application for production.
  • test: Run tests using Jest.
  • coverage: Run tests with coverage report.
  • eject: Eject the application from Create React App.
  • prepare: Installs necessary pre-commit/push hooks from husky library
  • lint: Lints JavaScript/TypeScript files.
  • lint:fix: Uses ESLint to fix any potential problems.
  • format: Formats code using prettier
  • cypress: Executes Cypress E2E tests

new-york-times's People

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.