NewsJunky is a web application that allows users to explore and read news articles from various categories. Stay informed about the latest happenings in areas such as weather, sports, education, and more.
- Browse news articles by different categories.
- Search for specific topics or keywords.
- Pagination support for navigating through multiple pages of results.
- Display relevant details such as article title, description, publication date, and source.
- HTML
- CSS (Bootstrap 5)
- JavaScript
- Node.js
- Express.js
- Axios for making HTTP requests
- News API for fetching news data
- dotenv for managing environment variables
-
Clone the repository:
git clone https://github.com/onkaryemul/NewsJunky---News-App-Using-ExpressJs.git
-
Navigate to the project directory:
cd NewsJunky---News-App-Using-ExpressJs
-
Install dependencies:
npm install
-
Create a .env file in the project root and add your News API key:
NEWS_API_KEY=your_news_api_key
Replace your_news_api_key with your actual API key.
-
Start the development server:
npm start
-
Open your web browser and go to http://localhost:3000 to access NewsJunky.
-
Explore different categories, search for topics, and stay informed with the latest news.
Contributions are welcome! Feel free to fork the repository, make improvements, and submit a pull request. Please follow best practices and maintain code clarity.