express-quicker

1.4.0 • Public • Published

Express-quicker

Express-quicker 是一个针对 Express 的应用程序快速生成命令行工具。项目骨架基于 Express-quickstart

Express-quiecker is a Express application generator tool, to quickly create an application skeleton based on Express-quickstart.

使用/Use

  • 安装命令行工具 / Installs command-line tool:

     npm install express-quicker -g
    
  • 创建 Express-quickstart 项目 / Creates an Express-quickstart app:

     equicker -h
     equicker [app-name]
     equicker [-t <type>] [app-name]
    
    • type

      当前可用类型:[emp]

      The current allowable type in: [emp]

      equicker -t emp [app-name]
      
  • 安装依赖 / Then install dependencies:

     npm install
    
  • 启动 / Startup:

     npm start
    
  • 访问 / Load:

http://localhost:3000/

目录结构 / directory structure

  • equicker [app-name]

     .
     ├── app.js
     ├── package.json
     ├── public
     │   ├── img
     │   ├── js
     │   └── css
     │       └── style.css
     │   └── favicon.ico
     │   └── upload.html
     ├── routes
     │   ├── index.js
     │   └── users.js
     ├── uploads
     └── views
         ├── error.etj
         ├── index.etj
         └── users.etj
  • equicker -t emp [app-name]

     .
     ├── app.js
     ├── package.json
     ├── entiy
     │   ├── Dept.js
     │   ├── Emp.js
     │   └── User.js
     ├── filter
     │   └── user-filter.js
     ├── public
     │   ├── img
     │   ├── js
     │   └── css
     │       └── style.css
     │   └── favicon.ico
     │   └── upload.html
     ├── routes
     │   ├── depts.js
     │   ├── emps.js
     │   ├── index.js
     │   └── users.js
     ├── service
     │   ├── dept-service.js
     │   ├── emp-service.js
     │   └── users-service.js
     ├── uploads
     └── views
     	├── admin
     	│   └── admin.etj
     	├── dept
     	│   └── list.etj	
     	├── emp
     	│   └── list.etj
         ├── error.etj
         └── index.etj

Express-quickstart

Express-quickstart

Express-quickstart-emp

Express-quickstart-emp

End

Email:inthinkcolor@gmail.com

http://www.easyproject.cn

支付宝钱包扫一扫捐助:

我们相信,每个人的点滴贡献,都将是推动产生更多、更好免费开源产品的一大步。

感谢慷慨捐助,以支持服务器运行和鼓励更多社区成员。

支付宝钱包扫一扫捐助

We believe that the contribution of each bit by bit, will be driven to produce more and better free and open source products a big step.

Thank you donation to support the server running and encourage more community members.

PayPal

Readme

Keywords

none

Package Sidebar

Install

npm i express-quicker

Weekly Downloads

0

Version

1.4.0

License

MIT

Last publish

Collaborators

  • easyproject