一、github 地址:
https://github.com/liyinchigithub/Omysq
二、效果
三、使用方式
如果你电脑已经安装配置 Git、node 环境,可以直接按下面步骤进行操作:
1、从 github 拉取工程
-
git clone git@github.com:liyinchigithub/express-mysql-restfulAPI.git
2、切换到目录下
-
cd Omysql
3、安装依赖包
-
npm install
4、启动 omysql 服务
-
node server.js
5、如果你的电脑还没有 node 环境,具体配置方法可以参考下面两个链接:
windows https://jingyan.baidu.com/article/1876c8529c79e2890b1376dd.html mac https://jingyan.baidu.com/article/6b1823098bdd9fba59e1597a.html 在 postman 上面构建以下请求,即可实现 postman 访问数据库!