Git Product home page Git Product logo

http-mysql's Introduction

http-mysql

使用http协议操作mysql数据库.

快速开始

1 在config/db配置数据库的用户名,密码,连接字.

2 安装依赖.

执行:

npm i

3 启动.

启动有多种方法.

直接启动:

npm run start

使用pm2:

npm run pm2_setlog
npm run pm2_start

使用docker:

npm run docker_build
npm run docker_start

或使用镜像

4 使用.

使用urlencoded发送post请求到/runsql即可.

请参考test/index.js文件和

TODO

  • https
  • ip白名单

http-mysql's People

Contributors

lsby avatar dependabot[bot] avatar

Stargazers

Lin avatar  avatar  avatar

Watchers

James Cloos 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.