{"id":25853918,"url":"https://github.com/kettil/mongoose-management","last_synced_at":"2025-03-01T15:27:11.222Z","repository":{"id":35077673,"uuid":"191617620","full_name":"kettil/mongoose-management","owner":"kettil","description":"Mongoose Management Tool","archived":false,"fork":false,"pushed_at":"2023-03-01T19:42:42.000Z","size":1501,"stargazers_count":2,"open_issues_count":19,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-16T04:29:12.357Z","etag":null,"topics":["database","db","document","model","mongodb","mongoose","nodejs","nosql","odm","orm","schema","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/kettil.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-06-12T17:39:44.000Z","updated_at":"2021-10-12T22:13:04.000Z","dependencies_parsed_at":"2024-10-25T01:11:29.251Z","dependency_job_id":"7edac59d-6a3b-40a2-a188-d902a71d0f72","html_url":"https://github.com/kettil/mongoose-management","commit_stats":{"total_commits":128,"total_committers":3,"mean_commits":"42.666666666666664","dds":0.0859375,"last_synced_commit":"2f292289f77dd26dcb7b0668af7cc27f052d1e08"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kettil%2Fmongoose-management","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kettil%2Fmongoose-management/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kettil%2Fmongoose-management/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kettil%2Fmongoose-management/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kettil","download_url":"https://codeload.github.com/kettil/mongoose-management/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241384169,"owners_count":19954293,"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":["database","db","document","model","mongodb","mongoose","nodejs","nosql","odm","orm","schema","typescript"],"created_at":"2025-03-01T15:27:09.373Z","updated_at":"2025-03-01T15:27:11.190Z","avatar_url":"https://github.com/kettil.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mongoose Management Tool\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Introduction](#introduction)\n- [Building](#building)\n- [Tests](#tests)\n- [Prettier and Lint](#prettier-and-lint)\n\n## Features\n\n- Manage collections for multiple databases\n- Manage your schemas via CLI\n- Create columns and indexes\n- Generate models with full TypeScript support\n\n## Installation\n\n```bash\nnpm install --global mongoose-management\n```\n\n## Introduction\n\nIn your project folder you start the application and follow the menu items.\n\n```bash\nmongoose-management\n\n# show the help menu\nmongoose-management --help\n```\n\nThe [example folder](./example) contains an example project. If the application is installed globally, the example project can be called using the following command.\n\n```bash\n# on a mac where nodejs is installed via homebrew\nmongoose-management -p /usr/local/lib/node_modules/mongoose-management/example\n```\n\n### Overview of collections groups\n\n![Overview of collections groups](./images/groups.png)\n\n### Overview of collections\n\n![Overview of collections](./images/collections.png)\n\n### Overview of columns and indexes\n\n![Overview of columns and indexes](./images/collection.png)\n\n### Creating a column\n\n![Creating a column](./images/column.png)\n\n## Building\n\nCompile the application from TypeScript to JavaScript.\n\nThe following command is available:\n\n- `npm run build`\n\n  Builds the application\n\n## Tests\n\n**The following commands are available:**\n\n| Command                 | Description               |\n| ----------------------- | ------------------------- |\n| `npm run test`          | Run all tests             |\n| `npm run test:watch`    | Watching mode from test   |\n| `npm run test:coverage` | Creates a coverage report |\n\n## Prettier and Lint\n\nEnsures that the code is formatted uniformly and that the coding standards are adhered to.\n\nThe following commands are available:\n\n- `npm run prettier`\n\n  Changes the code formatting as defined in the Prettier setting.\n\n- `npm run lint`\n\n  Checks if the lint rules are followed. It calls the prettier command first.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkettil%2Fmongoose-management","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkettil%2Fmongoose-management","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkettil%2Fmongoose-management/lists"}