Creating & Running Expressjs Projects With create-express-app

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

内容简介: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》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

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

We Are the Nerds

We Are the Nerds

Christine Lagorio-Chafkin / Hachette Books / 2018-10-2 / USD 18.30

Reddit hails itself as "the front page of the Internet." It's the third most-visited website in the United States--and yet, millions of Americans have no idea what it is. We Are the Nerds is an eng......一起来看看 《We Are the Nerds》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

随机密码生成器
随机密码生成器

多种字符组合密码

MD5 加密
MD5 加密

MD5 加密工具