Skip to content

Tasin5541/react-top-stories

Repository files navigation

React Top Stories

A web app for fetching top stories using the NYT Top Stories API

Live Demo

See a live demo on Netlify

Implementation of the NYT Top Stories API in .Net

See this repo for the implementation

Installation

  1. Clone/download repo
  2. yarn install (or npm install for npm)

Usage

Development

yarn start

  • Build app continuously (HMR enabled)

Production

yarn build yarn prod

  • Build app once (HMR disabled) to /dist/

All commands

Command Description
yarn start Build app continuously (HMR enabled)
yarn prod Build app once (HMR disabled) to /dist/
yarn build Build app to /dist/

Note: replace yarn with npm in package.json if you use npm.

See also