Skip to content

A Vue.js application for browsing news articles from various sources fetching data from the Newsdata.io API.

Notifications You must be signed in to change notification settings

mamadjavaad/news-app

Repository files navigation

News App

This is a simple news application built using Vue.js and Vuetify. It fetches data from the Newsdata.io API.

desktop_preview
mobile_preview
Desktop Preview Mobile Preview

Features

  • View latest news articles from various sources
  • Displays news articles from various categories
  • Search for news articles by keyword
  • Responsive design for mobile and desktop

Technologies Used

  • Vue.js
  • Vuetify
  • MDI icons
  • Axios for HTTP requests

Installation

  1. Clone this repository:

    git clone https://github.com/mamadjavaad/news-app.git
  2. Change into the directory:

    cd news-app
  3. Install dependencies:

    npm install
  4. Create a .env file in the root directory and add your API key:

    VITE_APP_API_KEY=YOUR_API_KEY_HERE
    

    Replace YOUR_API_KEY_HERE with your actual API key obtained from Newsdata.io.

  5. Run the application:

    npm run dev
  6. Open your browser and navigate to http://localhost:8080/ to view the app.

API Usage

This application uses the Newsdata.io API to fetch news articles. You will need to sign up for an API key on their website to use this application.

Contributing

Contributions are welcome! If you find any issues or would like to contribute enhancements, please feel free to open an issue or create a pull request.

About

A Vue.js application for browsing news articles from various sources fetching data from the Newsdata.io API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published