{"id":15924655,"url":"https://github.com/johnhunter/wc-brewery-app","last_synced_at":"2025-10-18T17:31:11.069Z","repository":{"id":198251692,"uuid":"695581248","full_name":"johnhunter/wc-brewery-app","owner":"johnhunter","description":"A POC Web-components application for tracking breweries you've visited. Includes a publish action.","archived":true,"fork":false,"pushed_at":"2024-04-29T01:20:17.000Z","size":2808,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-16T11:03:46.279Z","etag":null,"topics":["poc","web-components"],"latest_commit_sha":null,"homepage":"https://johnhunter.github.io/wc-brewery-app/","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/johnhunter.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":"2023-09-23T15:51:51.000Z","updated_at":"2024-04-29T18:46:21.000Z","dependencies_parsed_at":"2023-10-23T09:34:13.380Z","dependency_job_id":"9475260f-ff28-4feb-b9c4-52f398551eda","html_url":"https://github.com/johnhunter/wc-brewery-app","commit_stats":null,"previous_names":["johnhunter/wc-brewery-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnhunter%2Fwc-brewery-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnhunter%2Fwc-brewery-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnhunter%2Fwc-brewery-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnhunter%2Fwc-brewery-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnhunter","download_url":"https://codeload.github.com/johnhunter/wc-brewery-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236993856,"owners_count":19237981,"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":["poc","web-components"],"created_at":"2024-10-06T21:40:29.012Z","updated_at":"2025-10-18T17:31:05.729Z","avatar_url":"https://github.com/johnhunter.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web-component brewery app\n\nA POC Web-components application for tracking breweries you've visited. It uses [Open Brewery DB](https://www.openbrewerydb.org/) for data so unfortunately only covers US cities.\n\n_Completed as part of [Dave Rupert](https://daverupert.com/)'s [Web Components course](https://frontendmasters.com/courses/web-components)_\n\n![image](https://github.com/johnhunter/wc-brewery-app/assets/219160/4d0d73ce-29ce-46e9-b626-eed2bee47376)\n\n## The stack\n\nA TypeScript project that uses [Lit](https://lit.dev/) to build a web-component based app. Production build is provided by [Rollup](https://rollupjs.org/) and [Esbuild](https://esbuild.github.io/). The project was scaffolded using the [@open-wc](https://github.com/open-wc) starter.\n\n[![Built with open-wc recommendations](https://img.shields.io/badge/built%20with-open--wc-blue.svg)](https://github.com/open-wc)\n\n## Quickstart\n\nTo get started:\n\n```sh\nnpm install\nnpm start\n```\n\nWill open your browser at http://localhost:8000\n\n### Changing the city\n\nThe brewery-app component takes an optional attribute `city`. To change the city:\n\n1. Open the Elements panel in the browser dev-tools\n2. Select the `\u003cbrewery-app\u003e` custom element\n3. Add a `city` attribute, e.g. `city=\"New York\"`\n4. The app ui will update and fetch breweries in New York 🎉\n\n## Scripts\n\n- `start` runs your app for development, reloading on file changes\n- `start:build` runs your app after it has been built using the build command\n- `build` builds your app and outputs it in your `dist` directory, generates a cem (Custom Elements Manifest)\n- `test` runs your test suite with Web Test Runner\n- `lint` runs the linter for your project\n\n## Tooling configs\n\nFor most of the tools, the configuration is in the `package.json` to reduce the amount of files in your project.\n\nIf you customize the configuration a lot, you can consider moving them to individual files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnhunter%2Fwc-brewery-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnhunter%2Fwc-brewery-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnhunter%2Fwc-brewery-app/lists"}