NewsBolt is a prototype API-based web application offering users access to news from various countries, languages, and topics, providing a comprehensive platform for diverse news consumption.
-
Clone the repository: git clone https://github.com/pratikkhulge/Newss.git
-
Install dependencies: npm install express, npm install isomorphic-fetch
-
Set up the API key:
- Sign up for a free account on News API.
- Copy your API key.
- Create a
.env
file in the root directory. - Add the following line to the
.env
file:API_KEY=your-api-key
-
Start the server: npm start(or node index.js)
-
Open the application in your browser: http://localhost:3000
-
Use the search filters to search for news headlines based on keyword, country, date range, and sorting options.
- Express.js
- isomorphic-fetch