{"id":19920583,"url":"https://github.com/jagoda11/angular-template","last_synced_at":"2025-09-19T04:31:36.371Z","repository":{"id":262498051,"uuid":"887423136","full_name":"Jagoda11/angular-template","owner":"Jagoda11","description":"🌟 Angular Template Project: A starter template for Angular 19 with ESLint, Prettier, TypeScript, and testing setup. 🚀","archived":false,"fork":false,"pushed_at":"2024-11-19T22:10:39.000Z","size":3162,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-09T02:39:16.925Z","etag":null,"topics":["angular","angular-templates","angular19","docker","eslint","eslint-config","github-actions","husky-hooks","jasmine","karma","prettier","ts-morph","typescript"],"latest_commit_sha":null,"homepage":"https://jagoda11.github.io/angular-template/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jagoda11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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},"funding":{"github":"Jagoda11"}},"created_at":"2024-11-12T18:06:18.000Z","updated_at":"2024-11-19T22:09:31.000Z","dependencies_parsed_at":"2024-11-12T19:30:23.424Z","dependency_job_id":null,"html_url":"https://github.com/Jagoda11/angular-template","commit_stats":null,"previous_names":["jagoda11/angular-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jagoda11%2Fangular-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jagoda11%2Fangular-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jagoda11%2Fangular-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jagoda11%2Fangular-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jagoda11","download_url":"https://codeload.github.com/Jagoda11/angular-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":233550326,"owners_count":18692829,"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","angular-templates","angular19","docker","eslint","eslint-config","github-actions","husky-hooks","jasmine","karma","prettier","ts-morph","typescript"],"created_at":"2024-11-12T22:05:02.655Z","updated_at":"2025-09-19T04:31:31.039Z","avatar_url":"https://github.com/Jagoda11.png","language":"HTML","readme":"# Angular Template Project 🌟\n\n![License: Commercial](https://img.shields.io/badge/license-Commercial-pink)\n![TypeScript](https://img.shields.io/github/package-json/dependency-version/Jagoda11/angular-template/dev/typescript?label=TypeScript)\n![Angular](https://img.shields.io/github/package-json/dependency-version/Jagoda11/angular-template/@angular/core?label=Angular)\n[![🧹 Remove Stale Unmerged Branches](https://github.com/Jagoda11/angular-template/actions/workflows/%F0%9F%A7%B9remove-stale-unmerged-branches.yml/badge.svg)](https://github.com/Jagoda11/angular-template/actions/workflows/%F0%9F%A7%B9remove-stale-unmerged-branches.yml)\n[![🚀 Dependency Update and Vulnerability Scan](https://github.com/Jagoda11/angular-template/actions/workflows/%E2%AC%86%EF%B8%8Fnpm-upgrade.yml/badge.svg)](https://github.com/Jagoda11/angular-template/actions/workflows/%E2%AC%86%EF%B8%8Fnpm-upgrade.yml)\n[![CI](https://github.com/Jagoda11/angular-template/actions/workflows/%F0%9F%9A%80ci.yml/badge.svg)](https://github.com/Jagoda11/angular-template/actions/workflows/%F0%9F%9A%80ci.yml)\n\nA starter template for Angular projects with ESLint, Prettier, and custom scripts. This template is designed to help you kickstart your Angular applications with the latest configurations and best practices. 🚀\n\n## Features ✨\n\n- **Angular**: Latest version of Angular for building modern web applications.\n- **ESLint**: Integrated ESLint for code linting and maintaining code quality.\n- **Prettier**: Code formatting with Prettier to ensure consistent code style.\n- **TypeScript**: Strongly typed JavaScript for better development experience.\n- **Karma \u0026 Jasmine**: Testing setup with Karma and Jasmine for unit testing.\n\n## Getting Started 🛠️\n\n### Prerequisites\n\n- Node.js (v23.1.0 or higher)\n- npm (v10.9.0 or higher)\n\n### Installation\n\n**Clone the repository**:\n\n```bash\ngit clone https://github.com/Jagoda11/angular-template.git\ncd angular-template\n```\n\n**Install dependencies**:\n\n```bash\nnpm install\n```\n\n**Running the Development Server**\nTo start the development server, run:\n\n```bash\n  npm start\n```\n\nThis will start the Angular development server and you can view your application at \u003chttp://localhost:4200\u003e.\n\n**Building the Project**\nTo build the project,run:\n\n```bash\n  npm run build\n```\n\nThis will create a production build of your application in the dist/ directory.\n\nRunning Tests\nTo run the tests, use:\n\n```bash\n  npm test\n```\n\nThis will execute the unit tests using Karma and Jasmine.\n\n**Linting the Code**\nTo lint the code, run:\n\n```bash\n  npm run lint\n```\n\nThis will run ESLint on your project to check for code quality issues.\n\n**Formatting the Code**\nTo format the code using Prettier, run:\n\n```bash\n  npm run format\n```\n\nThis will format your code according to the Prettier configuration.\n\n**Cleaning Up**\nTo clean up the project (remove node_modules, dist, and package-lock.json), run:\n\n```bash\n  npm run clean\n```\n\n**Generating Test Files**\nTo generate missing test files, run:\n\n```bash\nnpm run generate-tests\n```\n\nThis will create test files for your Angular components, services, application configs, and other exports that do not already have corresponding test files. The generated test files will include appropriate test cases for exported members, lifecycle hooks, and other relevant aspects.\n\n## 📜 Scripts\n\nHere are the available scripts in this project:\n\n- **`start`** 🚀: Starts the development server  \n  `npm run start`\n\n- **`build`** 🏗️: Builds the project for production  \n  `npm run build`\n\n- **`watch`** 👀: Rebuilds the project on file changes  \n  `npm run watch`\n\n- **`test`** 🧪: Runs tests for the project  \n  `npm run test`\n\n- **`lint`** 🔍: Lints the project files using ESLint  \n  `npm run lint`\n\n- **`lint-fix`** 🔧: Lints and fixes issues in the codebase  \n  `npm run lint-fix`\n\n- **`format`** ✨: Formats the codebase using Prettier  \n  `npm run format`\n\n- **`clean`** 🧽: Cleans up `node_modules`, `dist`, and `package-lock.json`  \n  `npm run clean`\n\n- **`lint-staged`** 📝: Runs lint-staged to check and format only staged files  \n  `npm run lint-staged`\n\n- **`generate-tests`** 📝: Runs generate-tests to create test files and basic tests\n  `npm run generate-tests`\n\n  ## 🛡️ Pre-commit Hooks\n\nThis template uses Husky to run lint-staged and tests automatically before each commit. This ensures all code meets quality standards and passes tests before merging into the main codebase.\n\n## ⚙️ Workflows\n\nThis project includes several GitHub Actions workflows to automate various tasks and maintain the project efficiently:\n\n- **🔄 npm-upgrade.yml**: Automatically checks for and suggests upgrades to npm dependencies.\n- **🔒 close-stale-issues-and-prs.yml**: Closes stale issues and pull requests that have had no recent activity, helping keep the issue tracker organized.\n- **🏷️ label-new-pull-requests.yml**: Automatically labels new pull requests to streamline tracking and review processes.\n- **🙏 thank-contributors-on-issue-close.yml**: Sends a thank-you message to contributors when an issue is closed, recognizing their support.\n- **👋 welcome-new-pull-requests.yml**: Welcomes new contributors by commenting on their first pull request.\n- **🚀 ci.yml**: Runs continuous tests on each commit to ensure code quality.\n- **👋 welcome.yml**: Greets new contributors when they create their first issue.\n- **🔒 close-merged-pull-requests.yml**: Closes pull requests automatically when they are merged, keeping the PR list clean.\n- **🗑️ remove-merged-branches.yml**: Deletes branches automatically after they are merged, helping to keep the repository tidy.\n- **🗑️ remove-stale-unmerged-branches.yml**: Removes branches that have been inactive and remain unmerged, maintaining a clean repository.\n\n## Contributing 🤝\n\nContributions are welcome! Please open an issue or submit a pull request.\n\nThis project is licensed under the terms of the Commercial License Agreement. For more details, see the [LICENSE](LICENSE.md) file.\n© 2024 Jagoda11\n","funding_links":["https://github.com/sponsors/Jagoda11"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjagoda11%2Fangular-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjagoda11%2Fangular-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjagoda11%2Fangular-template/lists"}