Creating & Running Expressjs Projects With create-express-app

栏目: IT技术 · 发布时间: 5年前

内容简介:Created and maintained withCreate Express App is a command-line interface tool that helps you to initialize, develop, and maintain your Expressjs applications. It offers a modern build setup with no configuration. At the same time, it still offers the flex

create-express-app

Created and maintained with :heart: by getspooky .

Create Express App is a command-line interface tool that helps you to initialize, develop, and maintain your Expressjs applications. It offers a modern build setup with no configuration. At the same time, it still offers the flexibility to tweak the config of each tool. Create Express App works on macOS, Windows, and Linux.

  • If something doesn’t work, please file an issue .

Quick Overview

Installation is done using the npm install command:

npm install -g create-expressjs-app
create-expressjs-app init my-project
cd my-project

Runs the app in development mode. Open http://localhost:4200 to view it in the browser.

npm run start

Inside my-project directory, it will generate the initial project structure and install the transitive dependencies:

my-project
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── public
│   ├── favicon.ico
│   ├── index.html
|   ├── logo64.png
|   ├── logo128.png
│   └── logo256.png
└── src
    ├── App.js
    └── App.test.js

Running Tests

Create Expressjs App uses Jest as its test runner

npm run test

Requirements

create-expressjs-app has a few requirements you should be aware of before installing:

  • Node.js >= 8.0.0
  • npm >= 6.10.3

Contributing

We encourage you to contribute to create-expressjs-app! Please check out the Contributing to create-expressjs-app guide for guidelines about how to proceed.

Security Vulnerabilities

If you discover a security vulnerability within create-expressjs-app, please send an e-mail to Yasser Ameur El Idrissi via getspookydev@gmail.com . All security vulnerabilities will be promptly addressed.

Changelog

Please see CHANGELOG for more information what has changed recently.

License

Please see License File for more information.

Creating & Running Expressjs Projects With create-express-app

Happy Coding :heart:


以上所述就是小编给大家介绍的《Creating & Running Expressjs Projects With create-express-app》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Redis开发与运维

Redis开发与运维

付磊、张益军 / 机械工业出版社 / 2017-3-1 / 89.00

本书全面讲解Redis基本功能及其应用,并结合线上开发与运维监控中的实际使用案例,深入分析并总结了实际开发运维中遇到的“陷阱”,以及背后的原因, 包含大规模集群开发与管理的场景、应用案例与开发技巧,为高效开发运维提供了大量实际经验和建议。本书不要求读者有任何Redis使用经验,对入门与进阶DevOps的开发者提供有价值的帮助。主要内容包括:Redis的安装配置、API、各种高效功能、客户端、持久化......一起来看看 《Redis开发与运维》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具