{"id":20014164,"url":"https://github.com/hossein13m/tag-input","last_synced_at":"2025-05-04T21:32:14.578Z","repository":{"id":38272176,"uuid":"476229098","full_name":"Hossein13M/tag-input","owner":"Hossein13M","description":"Tag input component for adding new tags and filtering them.","archived":false,"fork":false,"pushed_at":"2024-12-11T09:55:23.000Z","size":2114,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T12:24:42.556Z","etag":null,"topics":["angular","component","css","html","input","tag"],"latest_commit_sha":null,"homepage":"https://tag-input.hossein.dev","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/Hossein13M.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}},"created_at":"2022-03-31T09:02:37.000Z","updated_at":"2024-12-11T09:55:28.000Z","dependencies_parsed_at":"2023-01-31T01:00:59.815Z","dependency_job_id":null,"html_url":"https://github.com/Hossein13M/tag-input","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/Hossein13M%2Ftag-input","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hossein13M%2Ftag-input/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hossein13M%2Ftag-input/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hossein13M%2Ftag-input/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hossein13M","download_url":"https://codeload.github.com/Hossein13M/tag-input/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252404411,"owners_count":21742544,"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":["angular","component","css","html","input","tag"],"created_at":"2024-11-13T07:39:31.576Z","updated_at":"2025-05-04T21:32:14.573Z","avatar_url":"https://github.com/Hossein13M.png","language":"TypeScript","readme":"\n# Tag Input\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.2.1.\n\n## Working Demo:\nYou can find out the working demo [here](https://tag-input.hossein.dev/)\n\n\nLight Theme             |  Dark Theme\n:-------------------------:|:-------------------------:\n![tag-input-light](https://user-images.githubusercontent.com/45146636/161312616-860e6595-ae64-4499-be81-197ae2d17e7b.png)  |  ![tag-input-dark](https://user-images.githubusercontent.com/45146636/161312606-c950aeba-e499-480c-a90a-65de1622683a.png)\n\n\n## Mock Server:\nThis project is powered by [Mirage.JS](https://miragejs.com/). The mock server is mocking `GET`, `POST`, and `DELETE` methods for getting the suggestions list, deleting a tag, and adding a new tag. \n\n\n## Implementation Details\nThis project has been implemented using Angular. The main building blocks of the application are:\n\n\n\n**Components**: Three different components are responsible for a separate task. None of the components are smart, and they are just for demonstrating the data using the `@Input` and `@Output` decorators. `Dependency Injection` has been heavily used in the project to get data from the mock server and manipulate the data between sibling components.\n\n\n\n**Model**: This Project uses TypeScript, and I have emphasized using it correctly. I have tried to avoid using `any` to build a scalable and maintainable project.\n\n\n\n**Services**: The project has three services: `mirage`, `share`, and `tag`. The `mirage.service.ts` is responsible for initializing the mock server and mocking the REST API verbs. The `share.service.ts` is for the data flow between the components using `BehaviorSubject`, and the `tag.service.ts` 's duty is to fetch data from the server (mock server)\n\n\n## Tailwind CSS\nThe CSS library used for this project is the latest version of `tailwind CSS`. I have used it for two purposes:\n1. For Handling Dark/Light them\n2. And I have benefited from its excellent classes\n\n**Customizing Tailwind CSS**\nI have customized the library and added some colors to its default ones. You can find them all in the `tailwind.config.js` file.\n\n## Husky\nHusky is used in this project to use the `Git hooks`. There are some rules for committing messages, and I ensure that files will be prettified by prettier before committing. I have also implemented proper `esLint` rules for better coding. To learn more about Husky, you can read **my article** regarding it [here](https://medium.com/angular-in-depth/husky-6-lint-prettier-eslint-and-commitlint-for-javascript-project-d7174d44735a).\n\n## Responsive\nThe tag-input project is responsive since tailwind is a `mobile-first` library.\n\n## Development server\n\nIf you want to deploy it yourself, after cloning the repo and installing the dependencies (using `yarn install`) please\nrun `yarn run start` (equivalent to `ng serve`) for a dev server. Navigate to `http://localhost:4200/`.\n\n## Further help\n\nIf you need any more details, please feel free to contact me. Check out [my portfolio](https://hossein.dev/) to get in touch with me.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhossein13m%2Ftag-input","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhossein13m%2Ftag-input","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhossein13m%2Ftag-input/lists"}