Skip to content

Wei-Feathers/studentCourseNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-ts-template

这是一个脚手架,项目目的是用 nodejs+typescript 创建一个空项目

支持使用create-app-git命令一键安装。create-app-git init node-ts-template或者npx create-app-git init node-ts-template

命令

  1. dev开发模式,执行启动就好,默认端口 8082
  2. build编译 ts 文件到 js
  3. start启动编译好的 js 文件

启动

  1. 执行npm run build生成可执行文件
  2. 使用守护进程启动项目。根目录下有 pm2 的配置文件pm2 start pm2.json

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •