{"id":21429139,"url":"https://github.com/robertobdev/my-admin","last_synced_at":"2025-03-16T21:43:05.022Z","repository":{"id":50953005,"uuid":"348518005","full_name":"robertobdev/my-admin","owner":"robertobdev","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-16T00:36:59.000Z","size":2116,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T08:16:39.370Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/robertobdev.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}},"created_at":"2021-03-16T23:11:46.000Z","updated_at":"2021-04-21T21:55:40.000Z","dependencies_parsed_at":"2022-08-28T14:22:35.788Z","dependency_job_id":null,"html_url":"https://github.com/robertobdev/my-admin","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/robertobdev%2Fmy-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertobdev%2Fmy-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertobdev%2Fmy-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertobdev%2Fmy-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertobdev","download_url":"https://codeload.github.com/robertobdev/my-admin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243940062,"owners_count":20372044,"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":[],"created_at":"2024-11-22T22:15:50.811Z","updated_at":"2025-03-16T21:43:04.997Z","avatar_url":"https://github.com/robertobdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyAdmin\n\n## Create new module (crud)\n\n1. Create module\n\n```bash\n\nng g m pages/MODULE_NAME --routing\n\n```\n\n2. Create a base component for you module\n\n```bash\n\nng g c pages/MODULE_NAME\n\n```\n\n\u003e NOTE: Four files will be create, You just need .component file, delete the rest.\n\n2.1 Code snippet for you .component\n\n```bash\nimport { Component } from '@angular/core';\n\n@Component({\n  selector: 'app-components',\n  template: ` \u003crouter-outlet\u003e\u003c/router-outlet\u003e `,\n})\nexport class MODULE_NAMEComponent {}\n\n```\n\n3. Create componets (REGISTER AND LIST)\n\n```bash\n\nng g c pages/MODULE_NAME/register-MODULE_NAME\nng g c pages/MODULE_NAME/list-MODULE_NAME\n\n```\n\n4. Link APP Routing to your module\n\nAdd your created module into `pages-routing.module.ts` as lazy loading\n\n\n5. Link your create components in your MODULE_NAME-routing.module.ts file\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertobdev%2Fmy-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertobdev%2Fmy-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertobdev%2Fmy-admin/lists"}