/nuxt-news-app

Simple website that fetches from NewsApi.org's free API to deliver a multi-page reactive and searchable experience with the current 20 trending news articles for the selected country.

Primary LanguageVue

Please build and run locally for the best experience. Get an API key through newsapi.org and add it to a .env file in the root directory, attributing it to a variable named VUE_APP_NEWS_API_KEY.

Live project demo (only works for first API call!): https://news-app-sd.herokuapp.com/

screenshot

news-app

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For detailed explanation on how things work, check out Nuxt.js docs.