Skip to content

An npm package for quickly creating an Express app with an MVC (Model-View-Controller) architecture pattern, including folders and boilerplate code with multiple customization options.

Notifications You must be signed in to change notification settings

Maniii97/Express-npx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express CLI

Express TypeScript JavaScript License

express-i-ms-cli is a command-line interface (CLI) tool for quickly generating Express.js projects with multiple customizable options.

Installation

You can install express-i-ms-cli globally using npm:

To install :

npm i express-i-ms-cli

Help command :

npx express-i-ms -h

OR

npx express-i-ms --help

Version command :

npx express-i-ms -v

OR

npx express-i-ms --version

Make an empty folder, Run the following command to get the boilerplate express app with MVC architecture pattern.

npx express-i-ms

This is how your project structure will look like:

projectName/
├── src/
│   ├── app.ts
│   ├── routes/
│   ├── controllers/
│   ├── models/
│   ├── middlewares/
│   └── configs/
├── .dockerignore
├── .gitignore
├── Dockerfile
├── README.md
├── package.json
├── tsconfig.json

Features

  • Choose between TypeScript and JavaScript for your project.
  • Option to include an .env file for environment variables.
  • Option to enable CORS (Cross-Origin Resource Sharing).
  • Set up a basic database connection with MongoDB.
  • Option to include .gitignore file.
  • Option to get ts-config.json file.
  • Option to use nodemon.
  • Option to add a DockerFile

Feel free to raise an issue and contribute to this package on Github

About

An npm package for quickly creating an Express app with an MVC (Model-View-Controller) architecture pattern, including folders and boilerplate code with multiple customization options.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published