GithubHelp home page GithubHelp logo

bukovski / vue-pet-store Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 4.14 MB

:cat: :dog: :mouse: :koala: :bear:

Home Page: https://bukovski.github.io/vue-pet-store/

JavaScript 23.84% HTML 2.89% Vue 73.26%
vue vuex vue-router vue-loader vee-validate vuex-persistedstate

vue-pet-store's Introduction

ue Pet store

This is a simple merchandise store. On the main page, the display of the number of products in the warehouse is implemented, if the product is over, then the buy button will be blocked, if there are less than 6 items left in the warehouse, you will see a message about this.

Until no items have been added to the cart, the cart page will not be available. Implemented protection of routs from following the url link if there are no purchases in the basket.

In the basket, you can change the quantity of goods, if you reduce the quantity of goods to zero, then it will be removed from the basket.

On the page with the submit form, the data entry check is implemented.

Install

  • To start a project, you must set up all npm dependent commands. npm install
  • Install global npm i -g json-server and run server json-server src/assets/products.json or run the command in terminal npm run json
  • All settings save to vue.config.js

vue.config.js

  • publicPath - basename path http://localhost:8080/basename/

Built With

  • axios - Promise based HTTP client for the browser and node.js
  • vee-validate - validation form inputs and show to display errors
  • vue-gh-pages - create a new repository with a live page on GitHub
  • vuex - is a predictable state container for JavaScript apps
  • vuex-persistedstate - Persist and rehydrate your Vuex state into localStorage between page reloads.
  • vue-router - is official router for Vue.js to make building Single Page Applications
  • vue-phone-mask-input - mask for phone numbers with validation and country identification by the entered phone number
  • vue-loader - animated loader templates
  • vue-fragment - fragments are basically root-less components. They come useful in many situations where you don't want to pollute the DOM with a useless container, or you want to return many elements at once.

main-page

product-page

cart-page

form-page

success-message

responsive-main-page

vue-pet-store's People

Contributors

bukovski avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.