{"id":15007588,"url":"https://github.com/abdrahmanes1/express-api-initializer","last_synced_at":"2026-03-10T17:10:19.233Z","repository":{"id":206664734,"uuid":"717411411","full_name":"abdrahmanES1/express-api-initializer","owner":"abdrahmanES1","description":"express-api-inializer used for generate Express js app","archived":false,"fork":false,"pushed_at":"2024-07-16T14:07:03.000Z","size":236,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T07:35:11.574Z","etag":null,"topics":["cli","cli-app","express","express-cli","express-crud","expressjs","npm","npm-package","npmjs","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/express-api-initializer","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/abdrahmanES1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-11-11T12:17:45.000Z","updated_at":"2024-07-20T08:40:54.000Z","dependencies_parsed_at":"2024-07-16T17:06:40.910Z","dependency_job_id":null,"html_url":"https://github.com/abdrahmanES1/express-api-initializer","commit_stats":null,"previous_names":["abdrahmanes1/express-api-inializer","abdrahmanes1/express-api-initializer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdrahmanES1%2Fexpress-api-initializer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdrahmanES1%2Fexpress-api-initializer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdrahmanES1%2Fexpress-api-initializer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdrahmanES1%2Fexpress-api-initializer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdrahmanES1","download_url":"https://codeload.github.com/abdrahmanES1/express-api-initializer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243114148,"owners_count":20238547,"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","cli-app","express","express-cli","express-crud","expressjs","npm","npm-package","npmjs","typescript"],"created_at":"2024-09-24T19:11:56.619Z","updated_at":"2026-03-10T17:10:19.128Z","avatar_url":"https://github.com/abdrahmanES1.png","language":"TypeScript","readme":"# Express API Initializer\n\nExpress API Initializer is a tool designed to streamline the process of generating Express.js applications.\n\n## Installation\n\nEnsure you have [node.js](https://nodejs.org/)) installed, then install express-api-initializer globally using [npm](https://www.npmjs.com/):\n\n```bash\nnpm install -g express-api-initializer\n```\n\nTo create a new project, run:\n\n```bash\nexpress-initializer new \u003capp-name\u003e\n```\nYour app structure will be initialized as follows:\n\n\u003cpre\u003e\n📦 app\n ┣ 📂 config\n ┃ ┗ 📜 database.config.js\n ┣ 📂 src\n ┃ ┣ 📂 controllers\n ┃ ┃ ┗ 📜 users.controller.js\n ┃ ┣ 📂 middlewares\n ┃ ┃ ┣ 📜 error.middleware.js\n ┃ ┃ ┣ 📜 users.middleware.js\n ┃ ┃ ┗ 📜 validationMiddleware.middleware.js\n ┃ ┣ 📂 models\n ┃ ┃ ┗ 📜 users.model.js\n ┃ ┣ 📂 schemas\n ┃ ┃ ┗ 📜 users.schema.js\n ┃ ┣ 📂 routes\n ┃ ┃ ┗ 📜 users.route.js\n ┃ ┣ 📂 utils\n ┃ ┃ ┗ 📜 errorResponse.js\n ┃ ┗ 📜 app.js\n ┣ .env.example\n ┣ .env\n ┣ 📜 index.js\n ┗ 📜 package.json\n\u003c/pre\u003e\n\nTo start the app, navigate to the project directory and run:\n\n```bash\nnode index.js\n\n## Resource Generation\n\nGenerate resources using plural nouns:\n\n```bash\nexpress-initializer g resource \u003cresource-name\u003e\n```\n\n## Controller Generation\n\nGenerate controllers using:\n\n```bash\nexpress-initializer g controller \u003ccontroller-name\u003e\n```\n\n## Model Generation\n\nGenerate models using:\n\n```bash\nexpress-initializer g model \u003cmodel-name\u003e\n```\n\n## Validation Schema Generation\n\nGenerate schema using:\n\n```bash\nexpress-initializer g schema \u003cmodel-name\u003e\n```\n\n## Route Generation\n\nGenerate routes using:\n\n```bash\nexpress-initializer g route \u003croute-name\u003e\n```\n## Middleware Generation\n\nGenerate middleware using:\n\n```bash\nexpress-initializer g middleware \u003cmiddleware-name\u003e\n```\n\n## Configuration Generation\n\nGenerate configs using:\n\n```bash\nexpress-initializer g config \u003cconfig-name\u003e\n```\n\nFeel free to use these commands to efficiently scaffold and organize your Express.js applications.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdrahmanes1%2Fexpress-api-initializer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdrahmanes1%2Fexpress-api-initializer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdrahmanes1%2Fexpress-api-initializer/lists"}