GithubHelp home page GithubHelp logo

imar26 / react-nodejs-newsapi Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 12.64 MB

This web application involves building a simple news application which fetches news articles from an external api vendor and display them in web application

JavaScript 83.52% HTML 5.14% CSS 11.34%
reactjs nodejs rest-api lowdb

react-nodejs-newsapi's Introduction

News Application using React JS | Node.js | LowDB | REST API

This web application involves building a simple news application which fetches news articles from an external api vendor and display them in web application

Overview of the Application

  • This web application allows the user to login. Error handling has been done, incorrect username or password won't allow the user to login. For login, you can use -> (username: akr, password: akr)
  • Allowed user to choose (add/remove) 5 news sources of their own choice from the list available and display their top 10 articles. As per the requirement, the user won't be allowed to select more than 5 news sources
  • Allowed the user to save articles for future reference. The user can also view the list of saved articles

List of Pages and How to use the Application

  • Login Page -> The user can login into the application
  • List of Sources -> The application lists down a total of 134 news sources. User has the option to select their own 5 news sources by clicking on either Add Source / Remove Source button. Once the user select a news source, the title of the source turns into a link, and clicking on that will redirect the user to the articles page where the top 10 articles for that particular source is listed
  • List of Saved Articles -> Lists down the articles saved by the user
  • Top 10 Articles -> Lists down top 10 articles of a particular source. Allows the user to save any article of their choice

Steps to Setup and Run the Application

Installation and Running

  1. You need to have node.js and npm installed on your machine. Once installed, you can check the versions using the below commands
node -v
npm -v

Links for reference:

  1. Clone the project from GitHub Repository and Install all the necessary packages
git clone https://github.com/imar26/react-nodejs-newsapi.git
cd react-nodejs-newsapi
npm install
  1. Start node.js server
node index.js
  1. Run the react application
npm start
  1. Open your browser and go to http://localhost:3000/

Technologies Used

  • Node.js
  • React JS
  • LowDB
  • REST API

Production

Application deployed on: Coming Soon

react-nodejs-newsapi's People

Contributors

imar26 avatar

Stargazers

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