Skip to content

记事本项目:vue+node.js(koa2+mysql)前端后分离

Notifications You must be signed in to change notification settings

josonho/notepad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notepad

记事本项目:vue+node.js(koa2+mysql)前端后分离

运行后端(back-end):

npm i
node app.js

数据库

参考notepad\back-end\init\sequelize.js目录新建数据库

var config = {
  database: 'notepad',
  username: 'root',
  password: '111111',
  host: 'localhost',
  port: 3306
};

module.exports = config;

新建连接 001

新建数据库 002

新建表 003

notepad\back-end\init.txt(使用这里的代码新建查询创建表)


运行前端(front-end)

npm i
npm run dev

About

记事本项目:vue+node.js(koa2+mysql)前端后分离

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages