AbdallahMezo / hotels365

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hotels365

A Vue.js project

Acceptance Criteria

Expectations

  • You can use any javascript framework you want for this task (using VUE is a plus)

    VueJs used to create this page


  • You can use any css framework

    bootstrap.min.css used to create simple layout


  • ECMAScript 6 and beyond must be used

  • Unit testing

    Karmajs used in addition to Mochajs and PhantomJs to create unit tests.

    Tests covarge are 91.94%

    5/23 Failed tests to be fixed later


  • No plugin should be used for pagination and image gallery

    created a simple Vuejs component to display images in a gallary

    style needs some improvments


  • How will the components commuicate with each other ?

    by following higher order component pattern and passing data from parent component to child components as props

    for reveresed commuication event bus had beed used to fire events for parent components to listen and do something


  • Quality over quantity

  • For uncompleted points please mention in the readme how you were going to implement them.

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 all tests
npm test

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

About


Languages

Language:JavaScript 67.8%Language:Vue 31.3%Language:HTML 0.9%