Vuejs-Sheiley shop app: Sheiley Shop - PWA to track personal purchases, No more paper and pencil to go to the supermarket Vue and Vuetify

Sheiley Shop


Content


Description

Sheiley Shop is a PWA to track personal purchases, No more paper and pencil to go to the supermarket ?

Features

  • Multi-user
  • Multi-languages
  • Very intuitive and easy to use, it has a clean interface with few buttons
  • List of products
  • Favorite products
  • Product categories
  • Unit of measurement
  • Shopping history
  • Shopping cart
  • And more...

Get started

Requirements:

  • PHP 7.1.2 o superior
  • Mysql 5.6
  • NodeJs 10
  • NPM 6.4
  • Composer 1.8

Frontend

$ git clone https://github.com/itsalb3rt/sheiley_shop_app.git
$ npm install 
$ npm run serve
# or run the next command for production
$ npm run build

API entry point

change the API entry pont in env file

VUE_APP_API_DEV=http://localhost/sheiley_shop_api
VUE_APP_API_PRO=https://example.com/sheiley_shop_api

? This is all you need to test it in your local environment!

Frontend production

If you hosted the app in subdirectory go to vue.config.js and set the subdirectory name in publicPath property


Backend

The REST API is made in PHP so a server with PHP 7.1 or higher is required.

$ git clone https://github.com/itsalb3rt/sheiley-shop-api.git
$ composer require itsalb3rt/sheiley-shop-api

Database

Inside the root directory of the REST API enter etc/sheiley_shop.sql this file contains all the script from the database.

After executing the script in the Mysql database, it remains to enter the directory config/config.php.ini and set user database, username and password.

<?php return; ?>
; Database config
host=localhost
user=root
pass=toor
dbname=sheiley_shop
driver=mysql
charset=utf8
collation=utf8mb4_unicode_ci
prefix=""
port=""

Backend production

In the system/webroot/ directory you will find a file named FrontController.php inside this you must modify the constant ENVIROMENT and put the value pro.


Docker

Remember set the .env file vars before.

$ docker-compose up -d

Extra

Inside the etc directory of the API REST repository You will find the entity relationship diagram created in starUML and the prototype created in Adobe XD, you can play with this.

Comments

  • Barcode reader
    Barcode reader

    Mar 19, 2020

    Integrate barcode reader

    • For create product
    • For add producto to purchase list
    enhancement 
    Reply
  • Add hide button to shop resume
    Add hide button to shop resume

    Nov 21, 2020

    Describe the bug When use a phone for create purchase the resume shop take a much space

    Expected behavior Use spand component https://vuetifyjs.com/en/components/expansion-panels/

    Screenshots image

    Additional context NONE

    Reply
  • Product shop history
    Product shop history

    Nov 4, 2021

    Description

    When users are in a product details screen, loading the ship history related to the detailed product helps to check price history fast.

    Posible solution

    Create end point in the API for fetch product in history.

    Reply
  • Correccion menor
    Correccion menor

    Jul 1, 2019

    • No se cargaba el historial de compras
    Reply
  • Bump acorn from 5.7.3 to 5.7.4
    Bump acorn from 5.7.3 to 5.7.4

    Mar 16, 2020

    Bumps acorn from 5.7.3 to 5.7.4.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    Reply
  • Product brand
    Product brand

    Oct 11, 2019

    Allow to add the product brand.

    Advantages

    It allows to have the most segmented data, it is also possible to have the same product of different brands to even buy between brands of the same product the prices in the same store or in different stores.

    enhancement 
    Reply
  • Save all store data in localstorage
    Save all store data in localstorage

    Mar 21, 2020

    Save all NOT sensitive data in localstorage

    • Products
    • Categories
    • Measurements units
    • Currencies
    • User (Full name, email)
    enhancement 
    Reply
  • Notification on update profile not work
    Notification on update profile not work

    Apr 17, 2020

    On update password or other user profile data, no show the notification

    bug 
    Reply
  • Bump elliptic from 6.5.3 to 6.5.4
    Bump elliptic from 6.5.3 to 6.5.4

    Mar 9, 2021

    Bumps elliptic from 6.5.3 to 6.5.4.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    Reply
  • Bump y18n from 4.0.0 to 4.0.1
    Bump y18n from 4.0.0 to 4.0.1

    Mar 30, 2021

    Bumps y18n from 4.0.0 to 4.0.1.

    Changelog

    Sourced from y18n's changelog.

    Change Log

    All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

    5.0.5 (2020-10-25)

    Bug Fixes

    5.0.4 (2020-10-16)

    Bug Fixes

    • exports: node 13.0 and 13.1 require the dotted object form with a string fallback (#105) (4f85d80)

    5.0.3 (2020-10-16)

    Bug Fixes

    • exports: node 13.0-13.6 require a string fallback (#103) (e39921e)

    5.0.2 (2020-10-01)

    Bug Fixes

    5.0.1 (2020-09-05)

    Bug Fixes

    5.0.0 (2020-09-05)

    ⚠ BREAKING CHANGES

    • exports maps are now used, which modifies import behavior.
    • drops Node 6 and 4. begin following Node.js LTS schedule (#89)

    Features

    ... (truncated)

    Commits
    Maintainer changes

    This version was pushed to npm by oss-bot, a new releaser for y18n since your current version.


    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    Reply
  • Bump follow-redirects from 1.11.0 to 1.14.7
    Bump follow-redirects from 1.11.0 to 1.14.7

    Jan 13, 2022

    Bumps follow-redirects from 1.11.0 to 1.14.7.

    Commits
    • 2ede36d Release version 1.14.7 of the npm package.
    • 8b347cb Drop Cookie header across domains.
    • 6f5029a Release version 1.14.6 of the npm package.
    • af706be Ignore null headers.
    • d01ab7a Release version 1.14.5 of the npm package.
    • 40052ea Make compatible with Node 17.
    • 86f7572 Fix: clear internal timer on request abort to avoid leakage
    • 2e1eaf0 Keep Authorization header on subdomain redirects.
    • 2ad9e82 Carry over Host header on relative redirects (#172)
    • 77e2a58 Release version 1.14.4 of the npm package.
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
    • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
    • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
    • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

    You can disable automated security fix PRs for this repo from the Security Alerts page.

    dependencies 
    Reply
  • when a product is created it is not validated if the category and unit of measure is selected
    when a product is created it is not validated if the category and unit of measure is selected

    Oct 11, 2019

    when a product is created it is not validated if the category and unit of measure is selected.

    This generate a error on save the purchase, the backend API return error 500

    bug 
    Reply
  • Dockerize app
    Dockerize app

    Mar 27, 2020

    Dockerize App and API

                                                                                                                                                                                                            enhancement 
    Reply