{"id":20227881,"url":"https://github.com/github4maninder/jungle-rails","last_synced_at":"2025-10-19T23:28:46.933Z","repository":{"id":112067915,"uuid":"446222552","full_name":"github4maninder/jungle-rails","owner":"github4maninder","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-12T23:17:29.000Z","size":1496,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-18T07:28:11.236Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/github4maninder.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":"2022-01-09T23:00:11.000Z","updated_at":"2024-10-28T13:12:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"f45eee04-25fd-4e13-a2b1-de04f5d20276","html_url":"https://github.com/github4maninder/jungle-rails","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"lighthouse-labs/jungle-rails","purl":"pkg:github/github4maninder/jungle-rails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github4maninder%2Fjungle-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github4maninder%2Fjungle-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github4maninder%2Fjungle-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github4maninder%2Fjungle-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github4maninder","download_url":"https://codeload.github.com/github4maninder/jungle-rails/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github4maninder%2Fjungle-rails/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279941798,"owners_count":26248369,"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-19T02:00:07.647Z","response_time":64,"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-11-14T07:27:14.969Z","updated_at":"2025-10-19T23:28:46.916Z","avatar_url":"https://github.com/github4maninder.png","language":"Ruby","readme":"# Jungle\n\nJungle is a mini e-commerce application built with Rails 4.2 for purposes of teaching Rails by example. This project was a simulation of the real world e-commerce website where I learned a new language, ecosystem and framework.\n\n## Added Feature\n- Sold-out badge\n- Added categories for products\n- Bug fixes on user interface and missing admin security\n- User authentication; hashed password using bcrypt\n- Allowed only admins to add products and categories\n\n## Tested \n- RSpec\n- Capybara\n- Poltergeist\n- Database_cleaner\n\n## Setup\n\n1. Run `bundle install` to install dependencies\n2. Create `config/database.yml` by copying `config/database.example.yml`\n3. Create `config/secrets.yml` by copying `config/secrets.example.yml`\n4. Run `bin/rake db:reset` to create, load and seed db\n5. Create .env file based on .env.example\n6. Sign up for a Stripe account\n7. Put Stripe (test) keys into appropriate .env vars\n8. Run `bin/rails s -b 0.0.0.0` to start the server\n\n## Stripe Testing\n\nUse Credit Card # 4111 1111 1111 1111 for testing success scenarios.\n\nMore information in their docs: \u003chttps://stripe.com/docs/testing#cards\u003e\n\n## Dependencies\n\n* Rails 4.2 [Rails Guide](http://guides.rubyonrails.org/v4.2/)\n* PostgreSQL 9.x\n* Stripe\n\n## Final Product\n\n### Home Page\n![\"screenshot of homepage\"](/docs/jungle-homepage.jpg)\n\n### Admin Categories\n![\"screenshot of admin categories\"](/docs/admin-categories.jpg)\n\n### Admin Products\n![\"screenshot of admin products\"](/docs/admin-products.jpg)\n\n### My Cart\n![\"screenshot of cart\"](/docs/my-cart.jpg)\n\n### Signups\n![\"screenshot of signups\"](/docs/signup-page.jpg)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub4maninder%2Fjungle-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub4maninder%2Fjungle-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub4maninder%2Fjungle-rails/lists"}