项目作者: dineshvm

项目描述 :
Simple node application server to fetch the latest news articles using the endpoints from newsapi.org.
高级语言: JavaScript
项目地址: git://github.com/dineshvm/express-newsapi.git
创建时间: 2020-11-24T08:53:11Z
项目社区:https://github.com/dineshvm/express-newsapi

开源协议:

下载


NewsHub API

Backend API’s for fetching latest news articles from newsApi which mainly build with Node.JS & Express

Prerequisites

If you don’t have a NewsAPI account or api token available, please follow the steps in order to get the app running!

Step 1:

Login or Register for NewsAPI

Step 2:

Go to your account page and copy your API Token

Step 3:

Replace SECRET_KEY with your key in .src/app_constant.js file

  1. SECRET_KEY="YOUR_NEWS_API_KEY"

Installation

Clone the repo!

  1. git clone git@github.com:dineshvm/express-newsapi.git

Install dependencies

  1. npm i

OR yarn

Start the App

  1. npm start

Open your browser and check http://localhost:8090