Coder Social home page Coder Social logo

subramanyaks / react-news-app Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 1.79 MB

News App created using React with support of newsApi api. Display the Current Day News of India.

HTML 1.83% CSS 24.47% JavaScript 20.57% TypeScript 53.13%
api axios-react javascript news-api newsapi react reactjs newsapp newsapplication react-news

react-news-app's Introduction

React News App

This is a React JS-based online news web app that utilizes the NewsAPI.org API. It allows users to access and read news articles from a wide range of sources.

Features

  • Stay informed with the latest news articles fetched in real-time from NewsAPI.

  • Enjoy a user-friendly design that makes browsing news a seamless experience.

  • Discover news organized by various categories and topics, making it easy to find articles of interest.

  • Dive into full news articles effortlessly by clicking on the respective headlines.

  • Whether on a desktop, tablet, or mobile device, the app ensures a consistent and enjoyable experience across different screen sizes.

Technology Used

  • React
  • Bootstrap
  • NewsAPI.org API
  • VS Code

Pre Requisite

  • Install git
  • Installation of NodeJS is mandatory with NPM
  • Login in to NewsAPI api website to get your API key

Setup and Run

  1. Fork the Project and clone Repository using git clone
git clone https://github.com/SubramanyaKS/React-News-App.git
  1. Install all dependency in package.json
npm install
  1. Create .env folder and paste the your key in variable REACT_APP_API_KEY
REACT_APP_API_KEY=<Your API Key>
  1. Run application using command
npm run dev
  1. Automatically open the website in localhost or just type below url in browser
http://localhost/5173

Note: Currently user details has been removed. you can include if you want.

Note: For users details create db.json in root folder and add json in this passion

 {
    "id": 3,
    "name": "",
    "pnumber": "",
    "password": ""
}

then run the command at db.json path

json-server --watch db.json --port <Any Port Number>

Contribution

We welcome contributions! If you'd like to contribute to React-News-App, please follow our Contribution Guidelines.

If you like the project ๐ŸŒŸ the repository.

Thank you with โค Subramanya KS

react-news-app's People

Contributors

subramanyaks avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ritanyat

react-news-app's Issues

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.