/news

Primary LanguageHTML

Vue News App

A News Feed App with Vue 2. It is a simple client to pull news stories from the NewsAPI with the Axios library.

Demo

Vue News App

Technology stack

  • Vue JS framework.
  • TypeScript
  • NewsAPI
  • Testing by using:
    • Jest (Unit testing)
    • Nightwatch (E2E testing)

How to use

Download / Clone Repository

$ git clone https://github.com/mukeshrawat02/vue-news-app.git <project>
$ cd <project>
$ npm install

API Key configuration

  • Get API Key from NewsAPI.org
  • Go To Repository Folder.
  • Put API Key in Config folder, src\config\index.ts file.

Use one of the following to build and test:

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Run your end-to-end tests

npm run test:e2e

Run your unit tests

npm run test:unit

Screenshot

Alt text