{"id":20787638,"url":"https://github.com/raquellima7/all-versions","last_synced_at":"2026-04-10T02:33:26.308Z","repository":{"id":193381028,"uuid":"484839745","full_name":"RaquelLima7/all-versions","owner":"RaquelLima7","description":"Ruby on Rails project using the PaperTrail gem where we can see the customer's versions. We can view and revert a version, as well as restore a deleted customer.","archived":false,"fork":false,"pushed_at":"2022-06-26T21:07:24.000Z","size":5822,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T23:46:48.484Z","etag":null,"topics":["bootstrap","docker","docker-compose","papertrail","rspec","ruby-on-rails","sqlite3"],"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/RaquelLima7.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}},"created_at":"2022-04-23T19:34:37.000Z","updated_at":"2022-06-26T21:06:54.000Z","dependencies_parsed_at":"2023-09-08T00:54:19.745Z","dependency_job_id":null,"html_url":"https://github.com/RaquelLima7/all-versions","commit_stats":null,"previous_names":["raquellima7/all-versions"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RaquelLima7/all-versions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaquelLima7%2Fall-versions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaquelLima7%2Fall-versions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaquelLima7%2Fall-versions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaquelLima7%2Fall-versions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RaquelLima7","download_url":"https://codeload.github.com/RaquelLima7/all-versions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RaquelLima7%2Fall-versions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28017123,"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-12-25T02:00:05.988Z","response_time":58,"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":["bootstrap","docker","docker-compose","papertrail","rspec","ruby-on-rails","sqlite3"],"created_at":"2024-11-17T14:58:56.664Z","updated_at":"2025-12-25T02:11:05.185Z","avatar_url":"https://github.com/RaquelLima7.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# All Versions\n\n\u003cbr\u003e\n\nRuby on Rails project using the PaperTrail gem where we can see the customer's versions. We can view and revert a version, as well as restore a deleted customer.\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://ruby-doc.org/core-3.0.1/\"\u003e\n    \u003cimg alt=\"Ruby Version\" src=\"https://img.shields.io/badge/Ruby-3.0.1 -green.svg\" target=\"_blank\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://guides.rubyonrails.org/6_1_release_notes.html\"\u003e\n    \u003cimg alt=\"\" src=\"https://img.shields.io/badge/Rails-~\u003e 6.1.5-blue.svg\" target=\"_blank\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n## Screenshot\n\n- Index with all customers and show - creating a customer\n![](https://github.com/RaquelLima7/second-challange/blob/master/app/assets/images/01_screenshot.gif)\n\n\u003cbr\u003e\n\n- Editing a customer - deleting a customer\n![](https://github.com/RaquelLima7/second-challange/blob/master/app/assets/images/02_screenshot.gif)\n\n\u003cbr\u003e\n\n- View all customer versions - details page - revert version\n![](https://github.com/RaquelLima7/second-challange/blob/master/app/assets/images/03_screenshot.gif)\n\n\u003cbr\u003e\n\n- See all deleted customers - restore customer\n![](https://github.com/RaquelLima7/second-challange/blob/master/app/assets/images/04_screenshot.gif)\n\n\u003cbr\u003e\n\n## Stack the Project\n\n- **Ruby on Rails**\n- **Bootstrap**\n- **Sqlite3**\n- **Rspec**\n- **Docker**\n\n## Tests\n![](https://github.com/RaquelLima7/second-challange/blob/master/app/assets/images/05_rspec.gif)\n## Building application\n\nFirst you must have:\n\n1. Ruby \u003e= 3.0.1 installed.\n\nAs soon as you have everything done you can follow\n\n## Run Project\n\nClone the project\n\n```bash\n  git clone https://github.com/RaquelLima7/second-challange.git\n```\n\nGo to the project directory\n\n```bash\n  cd second-challange\n```\n\u003cbr\u003e\n\n### 1. Building everything\n\nIf you want to rock and create your dev environment and data, it's possible to go through the usual way:\n\n1. And to *bundle* it with command:\n```\nbundle install\n```\n\n2. Create databases\n```\nrails db:create\n```\n\n3. Run migrations\n```\nrails db:migrate\n```\n4. If you prefer, you can populate the database with the command:\n\n```\nrails db:seed\n```\n\n5. Run tests\n\n```\nrspec\n```\n### 2. Building everything with docker\n\nIf you want to use Docker to create your development and data environment, you can follow the path below.\n\n#### Necessary documentation:\n- [Docker](https://docs.docker.com/engine/install/ubuntu/)\n- [Docker Compose](https://docs.docker.com/compose/install/)\n\n1. Building the project\n```\ndocker-compose build\n```\n\n2. Start the application\n```\ndocker-compose up\n```\n\n3. Create database\n```\ndocker-compose run web rails db:create\n```\n\n4. Run migrations\n```\ndocker-compose run web rails db:migrate\n```\n\n5. If you prefer, you can populate the database with the command:\n\n```\ndocker-compose run web rails db:seed\n```\n\n6. Run tests\n\n```\ndocker-compose run web rspec\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraquellima7%2Fall-versions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraquellima7%2Fall-versions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraquellima7%2Fall-versions/lists"}