{"id":27240999,"url":"https://github.com/adammcodes/jungle","last_synced_at":"2025-04-10T19:56:22.741Z","repository":{"id":76414905,"uuid":"353440053","full_name":"adammcodes/jungle","owner":"adammcodes","description":"An amazon like app built with Ruby on Rails","archived":false,"fork":false,"pushed_at":"2021-04-07T18:38:22.000Z","size":1973,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-03-24T23:26:27.032Z","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/adammcodes.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}},"created_at":"2021-03-31T17:37:56.000Z","updated_at":"2024-03-24T23:26:29.241Z","dependencies_parsed_at":null,"dependency_job_id":"3fca15be-4c46-41e5-bfa0-1853ad381dec","html_url":"https://github.com/adammcodes/jungle","commit_stats":null,"previous_names":["adammcodes/jungle"],"tags_count":0,"template":false,"template_full_name":"lighthouse-labs/jungle-rails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adammcodes%2Fjungle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adammcodes%2Fjungle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adammcodes%2Fjungle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adammcodes%2Fjungle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adammcodes","download_url":"https://codeload.github.com/adammcodes/jungle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248285587,"owners_count":21078318,"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":[],"created_at":"2025-04-10T19:56:21.747Z","updated_at":"2025-04-10T19:56:22.725Z","avatar_url":"https://github.com/adammcodes.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jungle\n\nA mini e-commerce application built with Rails 4.2 for purposes of learning Rails by example.\n\n### Jungle Products \n\nThe landing page of Jungle shows a list of example products in the development database. Any active sales are shown in a banner on every page and all product prices are accordingly reflected. Users can begin shopping by adding items to their cart or clicking Details on a product to see a product specific view. \n\n![\"Products Index View\"](https://github.com/MagicMark5/jungle/blob/master/docs/jungle_products.png?raw=true)\n\n### Jungle Cart \n\nUsers are able to view their cart and modify quantities of items before checking out with stripe \n\n![\"Cart View\"](https://github.com/MagicMark5/jungle/blob/master/docs/jungle_cart.png?raw=true)\n\n### Admin View of Products\n\nAdmin users are able to add or remove products, add new product categories, create new sales, and view product/categories statistics.\n\n![\"Admin Products View\"](https://github.com/MagicMark5/jungle/blob/master/docs/jungle_admin_products.png?raw=true)\n\n\n## Additional Steps for Apple M1 Machines\n\n1. Make sure that you are runnning Ruby 2.6.6 (`ruby -v`)\n1. Install ImageMagick `brew install imagemagick imagemagick@6 --build-from-source`\n2. Remove Gemfile.lock\n3. Replace Gemfile with version provided [here](https://gist.githubusercontent.com/FrancisBourgouin/831795ae12c4704687a0c2496d91a727/raw/ce8e2104f725f43e56650d404169c7b11c33a5c5/Gemfile)\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## Admin Features\n\n#### Example Authorization to see admin features: \nusername: \"Jungle\"\npassword: \"book\"\n\n## Dependencies\n\n* Rails 4.2 [Rails Guide](http://guides.rubyonrails.org/v4.2/)\n* PostgreSQL 9.x\n* Stripe\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadammcodes%2Fjungle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadammcodes%2Fjungle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadammcodes%2Fjungle/lists"}