Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

已内嵌express框架,nodemon热更新,axios以及跨域配置,https配置,自定义日志io中间件

License

Notifications You must be signed in to change notification settings

Lightning-Development-Team/node.js-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node.js-template

包含express和nodemon和axios,跨域配置http配置自定义日志配置

使用:

推荐将此模板以下载方式下载到本地,而不是克隆!

下载模板

然后

npm i

目录:

/bin
存放模块

/log
日志文件

/wwwroot
静态资源根目录

/app.js
入口文件

运行:

生产环境

node app.js
npm run start

开发环境

nodemon babel-node ./app.js
npm run serve

About

已内嵌express框架,nodemon热更新,axios以及跨域配置,https配置,自定义日志io中间件

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published