{"id":26335845,"url":"https://github.com/kubalinio/velorides-fe","last_synced_at":"2026-05-06T18:33:19.974Z","repository":{"id":281229224,"uuid":"933188775","full_name":"kubalinio/velorides-fe","owner":"kubalinio","description":"Velo Rides is a web application that allows users to explore and fill out the bike route information from OpenStreetMap.","archived":false,"fork":false,"pushed_at":"2025-04-07T16:49:32.000Z","size":2208,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T17:43:00.499Z","etag":null,"topics":["angular","maplibre-gl","openstreetmap","overpass-api","spartan"],"latest_commit_sha":null,"homepage":"https://velo.jsapala.com","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/kubalinio.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}},"created_at":"2025-02-15T11:15:28.000Z","updated_at":"2025-03-19T08:11:24.000Z","dependencies_parsed_at":"2025-03-22T09:24:28.838Z","dependency_job_id":"1c96ce5c-7002-4cbc-a3a8-38d144f92feb","html_url":"https://github.com/kubalinio/velorides-fe","commit_stats":null,"previous_names":["kubalinio/velorides-fe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kubalinio/velorides-fe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubalinio%2Fvelorides-fe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubalinio%2Fvelorides-fe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubalinio%2Fvelorides-fe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubalinio%2Fvelorides-fe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kubalinio","download_url":"https://codeload.github.com/kubalinio/velorides-fe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kubalinio%2Fvelorides-fe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272186211,"owners_count":24888333,"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-08-26T02:00:07.904Z","response_time":60,"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":["angular","maplibre-gl","openstreetmap","overpass-api","spartan"],"created_at":"2025-03-16T01:15:35.484Z","updated_at":"2026-05-06T18:33:19.940Z","avatar_url":"https://github.com/kubalinio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Velo Rides\n\nVelo Rides is a web application that allows users to explore and fill out the bike route information from OpenStreetMap.\n\n## Installation\n\nManually add the following props to the angular.json.\n\n- \"changeDetection\": \"OnPush\"\n- \"flat\": true\n\n## UI\n\n```javascript\nmodule.exports = {\n  // ...\n  content: ['./src/**/*.{html,ts}'],\n};\n```\n\nAt the beginning of `styles.scss`, add the following code:\n\n```scss\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n```\n\n## Testing\n\nInstall the Angular Testing Library along the user-event library:\n\n```bash\npnpm i -D @testing-library/angular @testing-library/dom @testing-library/user-event\n```\n\nNext, install Playwright and install the accompanying browsers:\n\n```bash\npnpm i -D @playwright/test\npnpm playwright install\n```\n\n---\n\n## Code Quality\n\nFor code quality, we install `angular-eslint`, `eslint-plugin-unused-imports`, `husky`, `prettier`,`lint-staged` and Sheriff.\n\n```bash\npnpm ng add @angular-eslint/schematics\npnpm i -D eslint-plugin-unused-imports husky prettier lint-staged @softarc/{sheriff-core,eslint-plugin-sheriff}\n```\n\nTo integrate `eslint-plugin-unused-imports` and sheriff into ESLint, add the following to `eslint.config.js`:\n\n```javascript\n// exsting imports...\n\nconst sheriff = require('@softarc/eslint-plugin-sheriff');\nconst unusedImports = require('eslint-plugin-unused-imports');\n\nmodule.exports = tseslint.config(\n  // exsting setup...\n  {\n    files: ['**/*.ts'],\n    extends: [sheriff.configs.all],\n  },\n  {\n    plugins: { 'unused-imports': unusedImports },\n    rules: {\n      '@typescript-eslint/no-unused-vars': 'off',\n      'unused-imports/no-unused-imports': 'error',\n      'unused-imports/no-unused-vars': [\n        'warn',\n        {\n          vars: 'all',\n          varsIgnorePattern: '^_',\n          args: 'after-used',\n          argsIgnorePattern: '^_',\n        },\n      ],\n    },\n  },\n);\n```\n\nFor defining barrel-less modulesyou can initialize the Sheriff configuration by running the following command:\n\n```bash\npnpm sheriff init\n```\n\nCode formatting will be done by prettier, but only for staged files and before a commit:\n\n```bash\npnpm husky init\n```\n\nCreate the `.lintstagedrc` with the following content:\n\n```text\n{\n  \"*.{js,ts,json,html,scss,css,md}\": [\n    \"prettier --write\"\n  ]\n}\n\n```\n\n`.husky/pre-commit`, should have the following content:\n\n```bash\npnpm nx lint\npnpm nx test --watch=false\npnpm lint-staged --allow-empty\n```\n\n## State Management\n\nNext on the list is state management with the NgRx SignalStore. We also include the devtools extension for debugging purposes:\n\n```bash\npnpm i @ngrx/signals @angular-architects/ngrx-toolkit\n```\n\nIt is also important to use the official ESLint rules for NgRx:\n\n```bash\npnpm i -D @ngrx/eslint-plugin-ngrx\n```\n\nAdd the following to the ESLint configuration `eslint.config.js`:\n\n```javascript\n// existing imports...\nconst ngrx = require('@ngrx/eslint-plugin/v9');\n\nmodule.exports = tseslint.config(\n  // existing config...\n  {\n    files: ['**/*.ts'],\n    extends: [...ngrx.configs.signals],\n  },\n);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubalinio%2Fvelorides-fe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkubalinio%2Fvelorides-fe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkubalinio%2Fvelorides-fe/lists"}