/chucknorris

:muscle: Chuck Norris Jokes built with VueJS + api.chucknorris.io

Primary LanguageJavaScriptMIT LicenseMIT

chucknorris

Chuck Norris Jokes built with VueJS + api.chucknorris.io

License Github Issue GitHub Fork GitHub Star

Travis codecov

ChuckNorris

Who is Chuck Norris ?

https://en.m.wikipedia.org/wiki/Chuck_Norris

API

https://api.chucknorris.io/

Technology Used

  • Vue.js
  • Vue-Router
  • Vue-Resources
  • Webpack

Code Structure

  • All webpack configuration for build production and development is in folder build
  • Folder config is project configuration that used by webpack build
  • All Vue code is in src folder
  • Folder static is for external js, css and public image
  • Folder test is used for unit test all Vue Component
  • Folder www is setup for pwa need, like manifest.json, sw.js, etc

Development

  • Checkout Code : git checkout https://github.com/mazipan/chucknorris.git
  • Install dependency : npm install or yarn install
  • Run in local : npm run dev
  • Run unit test : npm run unit
  • Run ES linting : npm run lint
  • Build for production : npm run dist then checkout branch gh-pages and copy folder dist to root directory

Hope will usefull for you all.

Contact Me :

Email Website Facebook

Twitter Linkedin Slideshare