Code Monkey home page Code Monkey logo

qe's Introduction

QE

it's template to develop new simple in web.

techical stack

back-end

  • spring boot
    • spring mvc
    • spring jdbcTemplate

front-end

usage

config database:

  • application.yml

    datasource:
      execute:
          url: jdbc:mysql://127.0.0.1:3306/schema  # your db url
          username: myUser                         # your db user name
          password: pass                           # your db user password
          driver-class-name: com.mysql.jdbc.Driver # driver class
  • develop sql executor function

    application.yml

    SqlQueryFunction:
        sql-configs:
            testJob:                                   # example1: the key is job id
                sqlValue: >                            
                    SELECT * FROM schema.table 
                    wherfe name = ? or age = ?
                titleName: a test                    # the title for this job
                comment: comment for test.                # describe this job
                key-value: >                           
                     name:5,age:6                   
                                                        
            testJob02:                                 # example2
                sqlValue: > 
                    SELECT * FROM schema.table02 
                    where phone = ?
                titleName: test 02
                comment: |
                    comment for test 02.
                    It's my test 02.
                key-value: >
                     phone:00-0000-0000

    key-value: use the parameter in replace sqlValue '?', the pattern is "value 1 Description":"default value 1", "value 2 Description":"default value 2"

run

run main method and go to http://localhost:9999/index.html

index

you can click execute link to go to your SQL function web page job showSql

qe's People

Contributors

frank780117 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

qe's Issues

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.