Skip to content

developius/swapi-vue-pwa

Repository files navigation

swapi-vue-pwa

Progressive Web App built with Vue using data from the Star Wars API.

Build Status Dependencies codecov

SWAPI PWA screenshot

Hosted version deployed with Now: swapi.finnian.app

Video demo of the PWA on iOS 11.4: https://www.youtube.com/watch?v=-CsMLLU0hTw

I have written an accompanying blog post covering how the app works and how to configure deployment of Vue apps to Now. Check it out

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

For detailed explanation on how things work, checkout the guide and docs for vue-loader.