![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
node接口
MicrosoftYahei
这个作者很懒,什么都没留下…
展开
-
nodejs使用pg连接PostgreSQL数据库
使用pg连接PostgreSQL数据库 服务器安装PostgreSQL(以Ubuntu系统为例,已安装docker的情况下) # 拉取postgres镜像 docker pull postgres # 查看已安装镜像 docker images # 运行镜像 POSTGRES_PASSWORD=[自定义数据库密码] POSTGRES_USER=[自定义数据库用户名] docker r...原创 2018-12-13 14:20:25 · 7529 阅读 · 0 评论 -
使用express+pg体验接口开发
github Demo 连接数据库请求数据 // connectpg.js const pg = require('pg'); function connectPg() { return new Promise((resolve, reject) => { const pgConfig = { user: 'postgres', ...原创 2018-12-13 15:14:11 · 1107 阅读 · 0 评论 -
基于Vue+Vuex+Nodejs+MySql开发小说阅读器
基于Vue+Vuex+Nodejs+MySql开发小说阅读器 参考项目:https://github.com/tgxhx/vue-reader 本文项目:https://github.com/YepFury/reader 技术栈:Vue + Vuex + Vue-router + nodejs + express + mysql 等 说明:在空闲时间,想通过一个项目来总结一下目前的知识体系,因此...原创 2019-01-02 15:29:03 · 2181 阅读 · 0 评论