Skip to content

Latest commit

 

History

History
89 lines (61 loc) · 2 KB

README.md

File metadata and controls

89 lines (61 loc) · 2 KB

📰 Nuxt × News App 📰

nuxt-news-app

Gitmoji prettier MIT LICENCE

News application using News API built with Nuxt.js and Vuetify.✨

You can see the latest Japanese news and world news.

📱 Mobile layout

⭐️ Application URL

https://nuxt-news-app.now.sh

🔧 Build Setup

Environment

Create .env file and add API_KEY. Set the News API Key to the value.

BASE_URL=http://localhost:3000
API_KEY=<your News API Key>

Run locally

$ yarn install

$ yarn dev

🌐 Deploy to zeit now

  1. Create an account for Zeit now
  2. install now cli
# login to zeit now
$ now login

# Add Secrets for building with now and for functions
$ now secrets add BASE_URL https://nuxt-news-app.<your zeit now name>.now.sh
$ now secrets add API_KEY <your News API Key>

# So, When do you deploy?
$ now
# production deploy
$ now --prod

Author

👀 K

📄 License

Copyright © 2020 K.
This project is MIT licensed.

powered by NewsAPI.org