{"id":15551037,"url":"https://github.com/naomiyocum/op_crews","last_synced_at":"2026-04-29T17:40:39.871Z","repository":{"id":61660473,"uuid":"549306384","full_name":"naomiyocum/op_crews","owner":"naomiyocum","description":"My first project using Ruby on Rails! An app that allows users to CRUD One Piece Crews and Members.","archived":false,"fork":false,"pushed_at":"2022-11-16T18:19:03.000Z","size":2028,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T01:45:01.466Z","etag":null,"topics":["rails","rspec-testing","ruby"],"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/naomiyocum.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}},"created_at":"2022-10-11T01:43:03.000Z","updated_at":"2022-11-16T18:11:34.000Z","dependencies_parsed_at":"2023-01-23T11:00:28.747Z","dependency_job_id":null,"html_url":"https://github.com/naomiyocum/op_crews","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/naomiyocum/op_crews","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naomiyocum%2Fop_crews","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naomiyocum%2Fop_crews/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naomiyocum%2Fop_crews/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naomiyocum%2Fop_crews/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naomiyocum","download_url":"https://codeload.github.com/naomiyocum/op_crews/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naomiyocum%2Fop_crews/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32437109,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T17:34:55.123Z","status":"ssl_error","status_checked_at":"2026-04-29T17:34:45.749Z","response_time":110,"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":["rails","rspec-testing","ruby"],"created_at":"2024-10-02T14:02:13.494Z","updated_at":"2026-04-29T17:40:39.856Z","avatar_url":"https://github.com/naomiyocum.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Relational Rails - One Piece Crews!\n\n![GitHub language count](https://img.shields.io/github/languages/count/naomiyocum/op_crews)\n![GitHub top language](https://img.shields.io/github/languages/top/naomiyocum/op_crews?color=yellow)\n\n![one-piece](https://user-images.githubusercontent.com/102825498/196816536-5da9d3a7-aa27-47c0-bfbc-6e97f017dfec.jpeg)\n\n## Table of contents\n* [General Info](#general-info)\n* [Learning Goals](#learning-goals)\n* [Technologies](#technologies)\n* [Schema Design](#schema-design)\n* [Usage](#usage)\n\n## General Info\nThis is a solo project that was assigned to us during week 1 of Mod 2. For our first project utilizing Ruby on Rails, we were to create a one-to-many relationship with our data and create web pages that allow users to CRUD resources.\n\n## Learning Goals\n* Write migrations to create tables with columns of varying data types and foreign keys.\n* Create instance and class methods on a Rails model that use ActiveRecord methods and helpers.\n* Write model and feature tests that fully cover data logic and user behavior.\n\n## Technologies\nProject is created with:\n* Rails 5.2\n* Ruby 2.7\n* Rspec\n* Pry\n* SimpleCov\n* VSCode\n* Git\n\n## Schema Design\nBelow is my design for the one-to-many relationship we were to create for this project. \nInfluenced by One Piece (great anime btw) - a crew has many characters and a character belongs to a crew.\n\n![screen_shot_2022-10-19_at_12 09 16_pm](https://user-images.githubusercontent.com/102825498/196771136-2f9e938b-acc6-4d7f-aa30-2a74d478873b.png)\n\n## Usage\n\nFirst, clone this repo onto your local machine by running `git clone` with the copied URL.\u003cbr\u003e\nThen, run the following in your Terminal:\n\n```\ncd op_crews\nbundle install\nrails db:{drop,create,migrate,seed}\nrails s\n```\nLastly, head to your web browser and type `localhost:3000`.\n\nSweet, now you're on my main page! There are already some crews and members created for you. \nFeel free to add more, edit the existing ones, or even delete some (who cares about the Blackbeard Pirates, right?).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaomiyocum%2Fop_crews","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaomiyocum%2Fop_crews","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaomiyocum%2Fop_crews/lists"}