Giter Club home page Giter Club logo

news-app's Introduction

Hacker News Reader

This is a simple news app that retrieves and displays the latest news from Hacker News (https://news.ycombinator.com/). The app uses the official Hacker News API (https://github.com/HackerNews/API) to fetch the latest news stories, comments, and user information.

Installation

To install the app, first clone this repository to your local machine:

git clone https://github.com/your-username/hacker-news-reader.git Then, navigate to the project directory and install the dependencies:

cd hacker-news-reader npm install

Usage

To start the app, run the following command: npm start

This will start the app in development mode and open it in your default web browser at http://localhost:3000.

To create a production build of the app, run the following command: npm run build This will create an optimized build of the app in the build directory.

Configuration

The app retrieves news stories from the Hacker News API by default, but you can modify the API_ENDPOINT constant in src/constants.js to point to a different API endpoint if you prefer.

news-app's People

Contributors

giabaocorn20 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.