install-express-cli-365
v0.0.3
Published
Helper for initing a empty express project
Readme
install-express-cli-365
Tiny CLI to install Express.js in the current directory and scaffold a minimal app.
Quick start
Run via npx:
npx install-express-cli-365
This will:
- Run
npm install expressin the current folder. - Create a basic Express boilerplate in
index.js(orapp.jsifindex.jsalready exists). - Print progress and success messages to the console.
Running the generated app
Start the generated app with:
node index.js
If the server does not start, define a PORT (the generated boilerplate references
PORT). Example:PORT=3000 node index.js
or edit the generated file and add:
const PORT = process.env.PORT || 3000;
License
ISC
