{"id":19425466,"url":"https://github.com/pstevovski/express-app-cli","last_synced_at":"2025-04-24T16:31:36.460Z","repository":{"id":54828327,"uuid":"306876802","full_name":"pstevovski/express-app-cli","owner":"pstevovski","description":"CLI application for generating NodeJS / Express projects","archived":false,"fork":false,"pushed_at":"2021-01-26T23:32:16.000Z","size":802,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T08:24:35.603Z","etag":null,"topics":["cli","express","javascript","nodejs","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/express-app-cli","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pstevovski.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-24T12:17:26.000Z","updated_at":"2022-06-29T20:26:25.000Z","dependencies_parsed_at":"2022-08-14T04:01:11.010Z","dependency_job_id":null,"html_url":"https://github.com/pstevovski/express-app-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pstevovski%2Fexpress-app-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pstevovski%2Fexpress-app-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pstevovski%2Fexpress-app-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pstevovski%2Fexpress-app-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pstevovski","download_url":"https://codeload.github.com/pstevovski/express-app-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250663544,"owners_count":21467366,"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":["cli","express","javascript","nodejs","typescript"],"created_at":"2024-11-10T14:03:33.447Z","updated_at":"2025-04-24T16:31:35.737Z","avatar_url":"https://github.com/pstevovski.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Express App CLI\n\n**express-app-cli** is an application that bootstraps your NodeJS / Express projects fast and easy.\n\n## Installing and Using the CLI\n\nTo use the CLI, you'll need to install it globally trough **npm**:\n\u003e npm install -g express-app-cli\n\nOr you can use **yarn** aswell:\n\u003e yarn global add express-app-cli\n\nThen you can use by running:\n\u003e express-app \u003c project-directory \u003e [options]\n\n## Overview :eyes:\n\nThis CLI accepts multiple options used for configuring the project, such as:\n- language template\n- database\n- testing library\n- ORM (if using a SQL-based database. If using MongoDB, then Mongoose is automatically installed)\n- templating engine\n\nIt handles installing the pre-defined and specified packages, creating a project structure and initializing Git, so all you have to do is just run `npm run watch` which will start your server (by default its on `PORT 3000`) and watch for any file changes that will trigger server restart, and you're good to go.\n\nIf no arguments are provided, then the user will be asked a series of questions on how to configure the project.\n\n\u003cp align='center'\u003e\n    \u003cimg src='./example.gif' width='750' height=\"350\" alt='Example'\u003e\n\u003c/p\u003e\n\n### Options :clipboard:\n\nThe list of options include:\n\n    --default -\u003e Creates a project with: Javascript, MongoDB \u0026 Jest\n\n    # Languages\n    --javascript -\u003e selects Javascript as a language\n    --typescript -\u003e selects Typescript as a language\n\n    # Databases\n    --mongodb  -\u003e selects MongoDB database (\u0026 Mongoose)\n    --postgres -\u003e selects Postgres database\n    --mysql    -\u003e selects MySQL database\n    --sqlite   -\u003e selects SQLite database\n\n    # Testing Libraries\n    --jest  -\u003e Selects Jest testing library\n    --chai  -\u003e Selects Chai testing library\n    --mocha -\u003e Selects Mocha testing library\n\n    # ORMs for SQL-based databases\n    --sequelize -\u003e Selects Sequelize ORM\n    --typeorm   -\u003e Selects TypeORM \n\n    # Templating Engines\n    --handlebars -\u003e Selects Handlebars templating engine\n    --ejs -\u003e Selects EJS templating engine\n    --pug -\u003e Selects Pug templating engine\n\n    # Misc\n    --version -\u003e Provides the version of the application\n    --help    -\u003e Provides the information regarding the application\n\n### Example :computer:\n\nA quick example demonstrating the usage of the CLI:\n\n    # Make a directory where you would like to create the project\n    mkdir example\n\n    # Create the project with the default configuration in the 'example' folder\n    express-app example\\ --default\n\n    # Change your current directory to the project's directory \n    cd example\\\n\n    # Start and watch the server for any changes\n    npm run watch\n\n## Planned Features\nFeatures that are planned to be added in a future update, as additional **optional** configuration properties:\n- Setup for Heroku deployment\n- Basic user authentication and authorization using JWT\n- Support for PrismaORM\n\n## Contribution :construction_worker:\nIf you have any recommendations for what can be improved or added to the CLI, please feel free to open a pull request.\n\nWhen creating a new branch please follow the `feature/branch-name` convention if it's a feature to be added or updated. Or if its related to fixing a bug `bugfix/branch-name` convention. All pull requests then will be directed towards the `develop` branch.\n\nIf you find any bugs, please open an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpstevovski%2Fexpress-app-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpstevovski%2Fexpress-app-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpstevovski%2Fexpress-app-cli/lists"}