{"id":18177276,"url":"https://github.com/austinpray/starport-database","last_synced_at":"2025-04-07T10:56:11.724Z","repository":{"id":70234539,"uuid":"79402503","full_name":"austinpray/starport-database","owner":"austinpray","description":"silly rails webapp for a database class","archived":false,"fork":false,"pushed_at":"2017-04-27T05:16:16.000Z","size":3021,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T13:32:00.758Z","etag":null,"topics":["silly"],"latest_commit_sha":null,"homepage":"https://starport.herokuapp.com","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/austinpray.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":"2017-01-19T01:25:30.000Z","updated_at":"2017-04-24T20:12:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"fef6b22b-7d16-4d31-8390-7e56863f43fc","html_url":"https://github.com/austinpray/starport-database","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinpray%2Fstarport-database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinpray%2Fstarport-database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinpray%2Fstarport-database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/austinpray%2Fstarport-database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/austinpray","download_url":"https://codeload.github.com/austinpray/starport-database/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640514,"owners_count":20971555,"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":["silly"],"created_at":"2024-11-02T17:12:43.157Z","updated_at":"2025-04-07T10:56:11.705Z","avatar_url":"https://github.com/austinpray.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Starport Database\n\n## TODO and Code Quality\n\nThis is a one-off school project for a database class. The primary effort was in the schema. The interface was essentially an afterthought for a flashy demo. As such: this is not a very good example of quality rails code. This app needs help in the following areas:\n\n- DRY up controllers\n- Make controllers leaner\n- Organize controllers better (welcome_controller)\n- Copy pasted template partials\n- Possible XSS vulnerabilities with SVG?\n- ActionCable state is not preserved, it only relays messages from clients. This means a user has to move their ship to be seen after a new user connects.\n\n## Run with Docker\n\n\u003eDocker automates the repetitive tasks of setting up and configuring development environments so that developers can focus on what matters: building great software.\n\n[Learn more about what docker is.][Docker what]\n\nInstall [Docker][] on your system. [Install Guide][Install Docker].\n\nInstall the deps\n\n```\ndocker-compose run --rm web bundle install\n```\n\nCreate the db and run the migrations\n\n```\ndocker-compose run --rm web bin/rails db:create\ndocker-compose run --rm web bin/rails db:migrate\n```\n\nRun the app\n\n```\ndocker-compose up\n```\n\nIt should now be running at [http://localhost:3001](http://localhost:3001)\n\n## Run Standalone\n\nNeeds Ruby 2.4 and postgres installed on your computer\n\n[Docker]: https://www.docker.com/\n[Install Docker]: https://docs.docker.com/engine/installation/\n[Docker what]: https://www.docker.com/what-docker\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faustinpray%2Fstarport-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faustinpray%2Fstarport-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faustinpray%2Fstarport-database/lists"}