xiezhengsu / express-mysql Goto Github PK
View Code? Open in Web Editor NEW网上找了很久的express+mysql写的后台链接数据库的例子,这个算是比较完整的,使用之前可以先读readme的文件,本项目转自推酷博文,http://www.tuicool.com/articles/JfqYN3I ,放在github上只是为了方便查找,希望原文作者不要介意,再次感谢
网上找了很久的express+mysql写的后台链接数据库的例子,这个算是比较完整的,使用之前可以先读readme的文件,本项目转自推酷博文,http://www.tuicool.com/articles/JfqYN3I ,放在github上只是为了方便查找,希望原文作者不要介意,再次感谢
1. 运行工程前要先准备数据库环境 2. 访问地址: 只有更新接口使用的是post,其它接口都是get。所以其它接口可以通过 直接输入URL地址访问 增加 http://localhost:3000/p/users/addUser?name=XXX&age=12 删除 http://localhost:3000/p/users/deleteUser?id=3 查询全部 http://localhost:3000/p/users/queryAll ID查询 http://localhost:3000/p/users/query?id=1 修改 http://localhost:3000/p/users,会返回一个页面。通过表单模拟一个post请求
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.