欢迎使用Blog-Nodejs :waving_hand:
该API的提议者将由Blog使用,并探索NODEjs和MySQL的领域
安装
npm install
用法
npm run start
创建现场连接
src/database/connection.js
const knex = require ( 'knex' ) ( {
client : 'mysql2' ,
connection : {
host : 'your_localhost' ,
user : 'your_root' ,
port : your_port ,
password : 'your_password' ,
database : 'your_name_database'
}
} ) ;
module . expo