{"id":29222294,"url":"https://github.com/odqin/beb","last_synced_at":"2026-04-01T19:18:33.547Z","repository":{"id":296959433,"uuid":"995019618","full_name":"odqin/BeB","owner":"odqin","description":"This CLI tool generates a fully organized backend project structure using Express and MongoDB. It provides a simple command-line interface to create a new project with all the necessary files and configurations.","archived":false,"fork":false,"pushed_at":"2025-07-01T01:44:38.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-01T02:36:45.223Z","etag":null,"topics":["api","backend","buidler","cli","express","expressjs","npm","package"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/source-beb","language":null,"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/odqin.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,"zenodo":null}},"created_at":"2025-06-02T20:59:34.000Z","updated_at":"2025-07-01T01:44:41.000Z","dependencies_parsed_at":"2025-07-01T02:47:19.417Z","dependency_job_id":null,"html_url":"https://github.com/odqin/BeB","commit_stats":null,"previous_names":["mrkhelil/beb","odqin/beb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/odqin/BeB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odqin%2FBeB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odqin%2FBeB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odqin%2FBeB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odqin%2FBeB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odqin","download_url":"https://codeload.github.com/odqin/BeB/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odqin%2FBeB/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278351210,"owners_count":25972712,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","backend","buidler","cli","express","expressjs","npm","package"],"created_at":"2025-07-03T03:07:45.335Z","updated_at":"2025-10-04T18:07:35.856Z","avatar_url":"https://github.com/odqin.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# BeB\n\nThis CLI tool generates a fully organized backend project structure using Express and MongoDB. It provides a simple command-line interface to create a new project with all the necessary files and configurations.\n\n## Features\n\n- **Project Structure**: Automatically creates a well-organized directory structure for your Express and MongoDB application.\n- **Configuration Files**: Generates essential configuration files, including database connection settings and environment variables.\n- **Middleware**: Includes authentication and error handling middleware to streamline your development process.\n- **Controllers and Services**: Sets up templates for controllers and services to help you manage your application logic effectively.\n- **TypeScript Support**: The generated project is fully compatible with TypeScript, ensuring type safety and better development experience.\n- **CommonJS Support**: The generated project is also can be in the old javascript for the OGs\n\n## Installation\nYou can install the CLI via [npm](https://www.npmjs.com/package/source-beb) or yarn:\n```bash\nnpm install -g source-beb\n```\n```bash\nyarn global add source-beb\n```\n\n## Usage\n\nTo generate a new Backend project using BeB, run the following command:\n\n```bash\n# Initialize the CLI tool\nbeb init\n```\n\n```bash\n# Generate a new project\nbeb generate \u003cproject-name\u003e\n```\n\nReplace `\u003cproject-name\u003e` with the desired name for your new project.\n\nThen Choose Between CommonJS and TypeScript by type `1` Or `2`\n\n## Project Structure\n\nThe generated project will have the following structure:\n\n### TypeScript Version\n```\n\u003cproject-name\u003e\n├── src\n│   ├── config\n│   │   ├── database.ts\n│   │   └── index.ts\n│   ├── controllers\n│   │   └── index.ts\n│   ├── middleware\n│   │   ├── auth.ts\n│   │   └── error.ts\n│   ├── models\n│   │   └── index.ts\n│   ├── routes\n│   │   └── index.ts\n│   ├── services\n│   │   └── index.ts\n│   ├── utils\n│   │   └── index.ts\n│   ├── app.ts\n│   └── server.ts\n├── .env.example\n├── .gitignore\n├── package.json\n└── README.md\n```\n\n### CommonJS Version\n```\n\u003cproject-name\u003e\n├── src\n│   ├── config\n│   │   ├── database.js\n│   │   └── index.js\n│   ├── controllers\n│   │   └── index.js\n│   ├── middleware\n│   │   ├── auth.js\n│   │   └── error.js\n│   ├── models\n│   │   └── index.js\n│   ├── routes\n│   │   └── index.js\n│   ├── services\n│   │   └── index.js\n│   ├── utils\n│   │   └── index.js\n│   ├── app.js\n│   └── server.js\n├── .env.example\n├── .gitignore\n├── package.json\n└── README.md\n```\n\n\n## Contributing\nIf you have suggestions or improvements, feel free to open issues or pull requests. We welcome contributions!\n\n## Bugs and Issues\n\nIf you encounter any bugs or issues, please open an issue on the [GitHub repository](https://github.com/odqin/BeB).\n\n\nCreated with ❤️ by [Odqin](https://github.com/odqin/)\n\n\n[![npm](https://img.shields.io/npm/v/source-beb)](https://www.npmjs.com/package/source-beb)\n[![npm](https://img.shields.io/npm/l/source-beb)](https://www.npmjs.com/package/source-beb)\n[![npm](https://img.shields.io/npm/dt/source-beb)](https://www.npmjs.com/package/source-beb)\n[![github](https://img.shields.io/github/last-commit/odqin/BeB)](https://github.com/odqin/BeB)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodqin%2Fbeb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodqin%2Fbeb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodqin%2Fbeb/lists"}