{"id":21902242,"url":"https://github.com/phrohdoh/rust-and-polymer","last_synced_at":"2026-04-13T12:01:17.128Z","repository":{"id":73952545,"uuid":"81895788","full_name":"phrohdoh/rust-and-polymer","owner":"phrohdoh","description":"Example project using Polymer on the frontend with a diesel-rocket powered backend","archived":false,"fork":false,"pushed_at":"2017-02-14T17:47:47.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T06:26:44.847Z","etag":null,"topics":["diesel","polymer","rocket","rust","rust-diesel","rust-rocket","sqlite"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/phrohdoh.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":"2017-02-14T02:33:49.000Z","updated_at":"2019-03-07T05:11:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"1b864246-cc71-40fa-8e9c-6bad9e1be692","html_url":"https://github.com/phrohdoh/rust-and-polymer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/phrohdoh/rust-and-polymer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrohdoh%2Frust-and-polymer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrohdoh%2Frust-and-polymer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrohdoh%2Frust-and-polymer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrohdoh%2Frust-and-polymer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phrohdoh","download_url":"https://codeload.github.com/phrohdoh/rust-and-polymer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phrohdoh%2Frust-and-polymer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31751705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["diesel","polymer","rocket","rust","rust-diesel","rust-rocket","sqlite"],"created_at":"2024-11-28T15:17:44.282Z","updated_at":"2026-04-13T12:01:17.115Z","avatar_url":"https://github.com/phrohdoh.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polyrust\n\nCombining [Polymer](http://polymer-project.org/) and [Rust](http://rust-lang.org/) (via [Rocket](https://rocket.rs/) and [Diesel](http://diesel.rs))\n\n### Setup\n\n```\n# from the project root\n$ ./setup.bash\n```\n\nThen add at least a single payee and transaction to the sqlite3 `.db` file created at `./backend/test.db`.\n\n### Running the backend\n\n```\n# from the project root\n$ cd backend ; cargo run\n```\n\n### Running the frontend\n\n```\n# from the project root\n$ cd frontend ; polymer serve\n```\n\n### Viewing the UI\n\nYou will need to run your browser with CORS disabled until I properly respond to CORS requests.\n\nI do this on macOS with this function in my shell:\n\n```bash\ngoogle-chrome-no-cors() {\n    open -a \"Google Chrome\" --args --disable-web-security --user-data-dir\n}\n```\n\nTo use this open a bash instance and run:\n\n```\n$ google-chrome-no-cors\n```\n\nWhich will launch Google Chrome in an insecure mode so I don't have to muck with CORS yet.\n\nNow you can play around with the frontend by navigating to `localhost:8080` (or whichever port `polymer serve` picks).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphrohdoh%2Frust-and-polymer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphrohdoh%2Frust-and-polymer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphrohdoh%2Frust-and-polymer/lists"}