Skip to content

ruixue0702/nuxt1egg

Repository files navigation

nuxt1egg

my first egg project for nux1

QuickStart

see egg docs for more detail.

Development

$ npm i
$ npm run dev
$ open https://localhost:7001/

Deploy

$ npm start
$ npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.

model文件夹下的js文件 article.js - 对应 mongodb 数据库中的数据表 articles user.js - 对应 mongodb 数据库中的数据表 users

About

登录 注册 jwt权限验证 token egg mongodb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published