{"id":15482033,"url":"https://github.com/code-matt/raingular2","last_synced_at":"2025-10-10T09:51:03.159Z","repository":{"id":74838140,"uuid":"65486332","full_name":"code-matt/Raingular2","owner":"code-matt","description":"Boilerplate -- Angular2(2.0.0,CLI) frontend served from Rails5(5.0.0) backend in api_only mode with JWT authentication.","archived":false,"fork":false,"pushed_at":"2016-09-17T19:54:46.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-31T02:15:31.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code-matt.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-08-11T16:57:17.000Z","updated_at":"2016-09-17T19:55:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9f9888e-3024-4714-b524-04cad6d0b714","html_url":"https://github.com/code-matt/Raingular2","commit_stats":{"total_commits":41,"total_committers":1,"mean_commits":41.0,"dds":0.0,"last_synced_commit":"978acbc1596ed2fbc2425304837dd7097839cda5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/code-matt/Raingular2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-matt%2FRaingular2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-matt%2FRaingular2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-matt%2FRaingular2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-matt%2FRaingular2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-matt","download_url":"https://codeload.github.com/code-matt/Raingular2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-matt%2FRaingular2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003414,"owners_count":26083582,"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-10-10T02:00:06.843Z","response_time":62,"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":[],"created_at":"2024-10-02T05:07:23.591Z","updated_at":"2025-10-10T09:51:03.143Z","avatar_url":"https://github.com/code-matt.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raingular2\n\nBoilerplate with Angular2(2.0.0,CLI) frontend with a Rails5(5.0.0) Backend in api_only mode.\nHas basic signup/login forms and a protected route with username/password authentication provided by JWTs.\nRails serves the index.html and Angular's router takes over after that.\n\n## Installation\nChange the project name. I suggest doing find and replace 'Raingular2'\n\nThis project is setup for Postgres\n\n```\ncd \u003croot dir\u003e\nbundle install\nrails db:create\nrails db:migrate\nrails db:seed\ncd client\nnpm install\nng build\nrails s\n```\n\nRight now you have to run ```ng build``` in the client directory while\nthe server is still running to see any changes you make. Still trying\nto figure out how to bring live reload back.\n\n## \"Rails Resolver\"\nThis is my best attempt so far for making Rails's routes.rb talk with angular's\nrouter when people go to URL's directly. Mashed together from a few different sources online.\n```\nclient/src/app/resolver/rails.component.ts\nthis.router.navigate(['index'])\n```\nReplace 'index' with whatever component you want to be loaded\nfor visits to the root address.\n\n##JWT auth dependencies\nRails:\n* https://github.com/nsarno/knock\n* https://github.com/codahale/bcrypt-ruby\n\nAngular:\n* https://github.com/auth0/angular2-jwt\n\n##Contribute!\n* Fork it\n* Create your feature branch (git checkout -b my-new-feature)\n* Commit your changes (git commit -am 'Add some feature')\n* Push to the branch (git push origin my-new-feature)\n* Create a new Pull Request","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-matt%2Fraingular2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-matt%2Fraingular2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-matt%2Fraingular2/lists"}