Skip to content

badelgeek-projects/build-express-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to build-express-app 👋

npx Version Documentation Maintenance


!!! DON'T USE npm install => USE npx !!!


Build Node.js + Express App easy and fast

Ready to go app folder with different folder structure

  • basic
  • middleware
  • ... (coming soon)

Usage

Default options

npx build-express-app appName

Folder Structure

Middleware

npx build-express-app --folder middleware appName
├── README.md
├── app.js
├── middlewares
│   ├── errors.js
│   └── index.js
├── package-lock.json
├── package.json
├── public
│   ├── css
│   │   ├── reset.css
│   │   └── style.css
│   ├── images
│   │   └── node-express.png
│   └── js
│       └── script.js
├── routes
│   ├── errors.js
│   └── index.js
└── views
    ├── 404.ejs
    ├── example.html
    ├── index.ejs
    └── partials
        ├── _footer.ejs
        └── _head.ejs

Basic

npx build-express-app  appName
├── README.md
├── app.js
├── package-lock.json
├── package.json
├── public
│   ├── css
│   │   ├── reset.css
│   │   └── style.css
│   ├── images
│   │   └── node-express.png
│   └── js
│       └── script.js
├── routes
│   ├── errors.js
│   └── index.js
└── views
    ├── 404.ejs
    ├── example.html
    ├── index.ejs
    └── partials
        ├── _footer.ejs
        └── _head.ejs

Listening Port

npx build-express-app --port 8080 appName

Help

npx build-express-app help

Author

👤 Abdelkarim MEHIAOUI

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2022 Abdelkarim MEHIAOUI.

This project is ISC licensed.