{"id":19884549,"url":"https://github.com/dalufishe/gen-express-app","last_synced_at":"2025-09-08T12:31:57.360Z","repository":{"id":204777472,"uuid":"712637283","full_name":"Dalufishe/gen-express-app","owner":"Dalufishe","description":"Alternative to express-generator, an easy-to-use tool for generating express applications.","archived":false,"fork":false,"pushed_at":"2024-04-25T11:47:18.000Z","size":259,"stargazers_count":87,"open_issues_count":6,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-12-25T02:04:48.956Z","etag":null,"topics":["express","nodejs","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/gen-express-app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dalufishe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-31T21:50:54.000Z","updated_at":"2024-12-17T23:30:06.000Z","dependencies_parsed_at":"2024-04-25T12:55:21.625Z","dependency_job_id":null,"html_url":"https://github.com/Dalufishe/gen-express-app","commit_stats":null,"previous_names":["dalufishe/create-express-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalufishe%2Fgen-express-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalufishe%2Fgen-express-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalufishe%2Fgen-express-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dalufishe%2Fgen-express-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dalufishe","download_url":"https://codeload.github.com/Dalufishe/gen-express-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232308555,"owners_count":18503119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["express","nodejs","typescript"],"created_at":"2024-11-12T17:27:50.428Z","updated_at":"2025-01-03T08:10:58.024Z","avatar_url":"https://github.com/Dalufishe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gen Express App\n\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) ![npm](https://img.shields.io/npm/v/gen-express-app) ![node](https://img.shields.io/node/v/gen-express-app) ![Make With Love](https://img.shields.io/badge/make_with_%E2%9D%A4%EF%B8%8F-white)\n\nAlternative to express-generator, an easy-to-use tool for creating modern express applications.\n\n- Interactive CLI Tool.\n- Build-in TypeScript support.\n- ESM module support.\n- Improved app structure for modern apps.\n\n![](/docs/gen-express-app.png)\n\n## Quick Start\n\nInstall `gen-express-app` package:\n\n```bash\nnpm install -g gen-express-app\n```\n\n### For Windows users\n\nOn Windows client computers, the execution of PowerShell scripts is disabled by default. To allow the execution of PowerShell scripts, which is needed for npm global binaries, you must set the following:\n\n```bash\nSet-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned\n```\n\nCarefully read the message displayed after executing the command and follow the instructions. Make sure you understand the implications of setting an execution policy.\n\n## Basic usage\n\nTo create a new workspace and initial starter app:\n\n1. Run the CLI command `eg new` and provide the name `express-app`, as shown here:\n\n```bash\neg new express-app\n```\n\n### Note: if you cannot use `eg` as a global command\n\nIf you get an error when using `eg` as a global command, try to use the command below:\n\n```bash\nnpx gen-express-app@latest new express-app\n```\n\n2. The `eg new` command prompts you for information about features to include in the initial express app. Accept the defaults by pressing the Enter or Return key.\n\nThe CLI installs the necessary ExpressJS npm packages and other dependencies. This can take a few minutes.\n\nThe CLI creates a new workspace and a simple project`s files, ready to run.\n\n## Run generated ExpressJS project\n\nTo run generated project just use one of this commands below:\n\n### Production mode\n\n```bash\ncd express-app\nnpm run start\n```\n\n### Development mode\n\n```bash\ncd express-app\nnpm run dev\n```\n\n## Why gen-express-app ?\n\n`gen-expressp-app` is an Express application generating tool inspired by [express-generator](https://github.com/expressjs/generator), retaining most of its excellent features and extending and improving where it falls short. We fully support `ESM module` and provide `TypeScript` templates to choose from, as well as an easy-to-use `interactive interface`. These are all cool features that express-generator does not have!\n\n## Usage\n\n### Interactive Interface\n\nInteractive interface is super easy to use:\n\n```bash\neg interactive\n# or specify project-name\neg new project-name\n```\n\nfollow the steps on CLI then you can head into your express application.\n\n### Command Line Options\n\nYou can also use the command line options, just like the way you did before.\n\n- example:\n\n```bash\neg new express-app --view=ejs --package=pnpm\n```\n\n- get help by typing `--help`:\n\n```bash\n$PC ~: eg --help\n\nUsage: eg [command]\n\nArguments:\n  command                         name of usage command (new / generate \u003ccomponent_type\u003e )\n\nOptions:\n  -V, --version                   output the current version\n  -t, --template \u003ctemplate-name\u003e  choose express template (choices: \"javascript\", \"typescript\", \"javascript-mvc\", \"typescript-mvc\")\n  -v, --view \u003cview-engine\u003e        choose view engine (choices: \"no-view\", \"ejs\", \"pug\", \"hbs\")\n  -p, --package \u003cpackage-name\u003e    choose package manager (choices: \"npm\", \"yarn\", \"pnpm\")\n  -h, --help                      display help for command\n\nCommands:\n  dev [options] \u003cbin-path\u003e        starting development server\n  start [options] \u003cbin-path\u003e      starting production server\n  new \u003cproject-name\u003e              generate project with name\n  interactive                     generate project in interactive mode\n```\n\n## Contributing\n\nIf you are interested in contributing to the development of the `Gen Express App`, we would be happy to receive your contributions! You can start by checking the `issues` to see if there are any problems that need to be addressed (such as new features or unresolved errors), `fork` the project, and submit a `pull request` to participate in the contribution.\n\n- @Dalufishe\n- @the-az-dev\n- @Vocaloid2048\n\n## Supporting Gen Express App\n\nIf you find the tool useful, consider giving us support by rating it with a `star`!\n\n## License\n\n[MIT](./LICENSE)\n\n## Links\n\n[Github](https://github.com/Dalufishe/gen-express-app)\n[Npm](https://www.npmjs.com/package/gen-express-app)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalufishe%2Fgen-express-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdalufishe%2Fgen-express-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalufishe%2Fgen-express-app/lists"}