25

Creating & Running Expressjs Projects With create-express-app

 4 years ago
source link: https://github.com/getspooky/create-express-app
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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 [email protected] . 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.

mU3U3yN.jpg!web

Happy Coding :heart:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK