Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 524 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 524 Bytes

lego-backend

慕课乐高项目的后台

QuickStart

Development

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

Don't tsc compile at development mode, if you had run tsc then you need to npm run clean before npm run dev.

Deploy

$ npm run tsc
$ npm start

Npm Scripts

  • Use npm run lint to check code style
  • Use npm test to run unit test
  • se npm run clean to clean compiled js at development mode once

Requirement

  • Node.js >= 16.x
  • Typescript >= 4.x