Coder Social home page Coder Social logo

ddiscounthero's Introduction

Hi, I am Marek! ๐Ÿ‘‹

I'm a creative and innovative javascript developer who is constantly seeking improvement.

Recent project

Please check out my recently developed site - www.DDiscounthero.com. DDiscounthero has been designed to help you monitor your favourite products (such as shoes, clothes, groceries or anything that is available online) and notify you about any discounts via email or push notifications.

About me

I am a big fan of gym and developing smart home devices using raspberry pi or ESP8266 modules using C++

๐Ÿ“ซ How to reach me:

Email: [email protected]


My GitHub stats

ddiscounthero's People

Contributors

dependabot[bot] avatar libikk avatar

Watchers

 avatar

ddiscounthero's Issues

todo:

  1. login validation
  2. email confirmation
  3. show error 500
  4. http -> https
  5. mobile friendly
  6. on create new websitew, create row website selectors
  7. add product price scan
  8. add real domain
  9. cookies information
  10. last login update fix
  11. reset password
  12. language selection
  13. landing page text

account settings

1. password change
2. current email and username
3. notifications preferences

ui tweaks

  • how it works icons sux
  • menu dropdown doesnt close back when you click somewhere else

product scan

when it gets image src it save without protocol

SQL param replacer

This example fails, because order of the object and way of replacing.

Conflicting:

'@isDiscountSelector': '.product-price .discount-percentage',
 '@isDiscountSelectorRegex': 'savee',

params:

{ '@id': 7,
  '@isClientSideCheck': 1,
  '@isDiscountSelector': '.product-price .discount-percentage',
  '@isDiscountSelectorRegex': 'savee',
  '@imageSelector': '.js-qv-product-cover',
  '@productNameSelector': '#main > div.col-md-6.pb-right-column > h1',
  '@productPriceSelector': null,
  '@productDiscountedPriceSelector': null,
  '@hostName': '4ecoshop.co.uk',
  '@url': 'https://4ecoshop.co.uk' }

Query:

UPDATE websitesselectors
SET
    isDiscountSelectorRegex = @isDiscountSelectorRegex,
    isClientSideCheck = @isClientSideCheck,
    isDiscountSelector = @isDiscountSelector,
    imageSelector = @imageSelector,
    productNameSelector = @productNameSelector,
    productPriceSelector = @productPriceSelector,
    productDiscountedPriceSelector = @productDiscountedPriceSelector
WHERE
    id = @id;

output:

SET
    isDiscountSelectorRegex = '.product-price .discount-percentage'Regex,
    isClientSideCheck = 1,
    isDiscountSelector = '.product-price .discount-percentage',
    imageSelector = '.js-qv-product-cover',
    productNameSelector = '#main > div.col-md-6.pb-right-column > h1',
    productPriceSelector = NULL,
    productDiscountedPriceSelector = NULL
WHERE
    id = 7;

params with order which doesnt cause the problem:

{ '@id': 7,
  '@isClientSideCheck': 1,
  '@isDiscountSelectorRegex': 'savee',
  '@isDiscountSelector': '.product-price .discount-percentage',
  '@imageSelector': '.js-qv-product-cover',
  '@productNameSelector': '#main > div.col-md-6.pb-right-column > h1',
  '@productPriceSelector': null,
  '@productDiscountedPriceSelector': null,
  '@hostName': '4ecoshop.co.uk',
  '@url': 'https://4ecoshop.co.uk' }

websites

on create new website protocol is included in website name

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.