rdiegoss / Designer_Pattern_Builder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Project Example Design Pattern Builder

Explain Architecture:

Javascript Pattern Builder

  • The builder pattern is a design pattern designed to provide a flexible solution to various object creation problems in object-oriented programming. The intent of the Builder design pattern is to separate the construction of a complex object from its representation

FluentSQL

  • This project use builder pattern to using anything database(json) filtering, by select, where and orderby. Have example inside folder "database", i`m using it for get data and build an generic object with selects, wheres and orderbys

NodeJS

  1. Make sure you have NodeJS version > 15 and npm installed.

  2. Install your dependencies

    cd path/to/DesignerPatternBuilder
    npm install
    
  3. Start your app

    npm start
    
    
    

Tests 100% Coverage

Jest

  • Using the best practice in TDD, inside the folder test, have example of all case tests made it with 100% Coverage.

Screen-Shot-2021-03-17-at-15-16-38.png

About


Languages

Language:JavaScript 46.7%Language:HTML 40.3%Language:CSS 13.0%