Skip to content

fufumo/expressTemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

expressTemplate

===

Papar Information

  • Title: express模板项目
  • Authors: Jerry

Install & Dependence

  • node js
  • mysql
  • npm

Use

npm run dev
npm start

两个命令都可以 区别是第一个有热重载

操作指南

  1. 先装包
npm install
  1. 修改 config 文件夹下的配置信息
  2. 终端启动

Directory Hierarchy

|—— .gitignore
|—— app.js
|—— bin
|    |—— www 入口文件
|—— config
|    |—— connection.js
|    |—— db.json 数据库配置
|    |—— env.json 环境端口配置
|—— file
|    |—— ai_todo.sql 数据库脚本
|—— LICENSE
|—— node_modules 包
|—— package-lock.json 
|—— package.json
|—— public 公开目录
|—— routes 路由配置
|    |—— index.js
|    |—— users.js
|—— utils 脚手架
|    |—— common.js
|—— views 视图

About

express模板仓库

Resources

License

Stars

Watchers

Forks

Contributors