Skip to content

AlanWenhao/tour-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tour-backend

中文文档

how to start

1.change config.js to match you local mySql database connection setting and rename it to `config.js` 

2.install the dependences
$ npm install

3.create tables, make sure that you've set the database which in config.js
$ npm run create

4.start node application
$ npm run start` or just `npm start

response data code

  • success
    • 200
  • error
    • 400 客户端参数有错误
    • 401 token认证错误
    • 500 服务端错误

mockup

Koa2-blog

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published