{"id":25553734,"url":"https://github.com/andercm/mr_peanutbutter","last_synced_at":"2026-02-18T23:30:16.650Z","repository":{"id":277746295,"uuid":"933354585","full_name":"anderCM/mr_peanutbutter","owner":"anderCM","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-15T19:45:17.000Z","size":35,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"development","last_synced_at":"2025-02-15T20:29:32.664Z","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/anderCM.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":"2025-02-15T18:52:39.000Z","updated_at":"2025-02-15T19:24:03.000Z","dependencies_parsed_at":"2025-02-15T20:29:38.339Z","dependency_job_id":"cd216a6f-4705-4de3-ab7f-11576d018306","html_url":"https://github.com/anderCM/mr_peanutbutter","commit_stats":null,"previous_names":["andercm/mr_peanutbutter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anderCM%2Fmr_peanutbutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anderCM%2Fmr_peanutbutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anderCM%2Fmr_peanutbutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anderCM%2Fmr_peanutbutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anderCM","download_url":"https://codeload.github.com/anderCM/mr_peanutbutter/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239833540,"owners_count":19704628,"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-02-20T12:01:24.708Z","updated_at":"2026-02-18T23:30:16.587Z","avatar_url":"https://github.com/anderCM.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mr Peanutbutter API\n![Mr PeanutButter](https://static.wikia.nocookie.net/bojackhorseman/images/4/4b/Mr._Peanutbutter_casual.png/revision/latest?cb=20190314203721)\n\n\nA RESTful API developed with Ruby on Rails, providing crypto services using the [CoinGecko API](https://docs.coingecko.com/reference/introduction). This project uses Docker for easier development and deployment.\n\n---\n\n## Content\n\n- [Mr Peanutbutter API](#mr-peanutbutter-api)\n  - [Content](#content)\n  - [Description](#description)\n  - [Características](#características)\n  - [Technologies](#technologies)\n  - [Installation](#installation)\n    - [Previous Requirements](#previous-requirements)\n    - [Steps to Configure this Repo Locally](#steps-to-configure-this-repo-locally)\n\n---\n\n## Description\n\n**Mr Peanutbutter API** is a project developed with Ruby on Rails that offers endpoints to consult cryptocurrency prices and register transactions for buying/selling. This application uses Docker to create a more robust environment and to simplify development.\n\n---\n\n## Características\n\n- **API RESTful:** Built following the best practices of Ruby on Rails.\n- **Documentation:** Uses Swagger to display API documentation.\n- **Tests:** Integrated with RSpec to ensure code quality.\n\n---\n\n## Technologies\n\n- **Backend:** Ruby (3.2) and Ruby on Rails (7.2.2)\n- **Containers:** Docker \u0026 Docker Compose\n- **Documentation:** Swagger (rswag-api, rswag-ui, rswag-specs)\n- **Tests:** RSpec\n- **Database:** PostgreSQL\n\n---\n\n## Installation\n\n### Previous Requirements\n\n- [Docker](https://www.docker.com/get-started)\n- [Docker Compose](https://docs.docker.com/compose/install/)\n- [VS Code](https://code.visualstudio.com/) or any other IDE\n\n### Steps to Configure this Repo Locally\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/anderCM/mr_peanutbutter.git\n   cd mr_peanutbutter\n\n2. Set up your own `.env` file or use `.env.example`\n3. Run:\n    ```\n    docker-compose build\n    docker-compose up -d\n\n4. Install necessary gems using one of these options:\n  - **4.1** From your local environment: `docker-compose run api bundle install`\n  - **4.2** By connecting to the container:\n      ```\n      docker-compose exec api bash\n      bundle install\n5. Create the DB using one of these options:\n  - **4.1** From your local environment: `docker-compose run api rails db:create`\n  - **4.2** By connecting to the container:\n      ```\n      docker-compose exec api bash\n      rails db:create\n\n6. Visit http://localhost:3000 or use any PORT you configured in `.env` file","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandercm%2Fmr_peanutbutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandercm%2Fmr_peanutbutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandercm%2Fmr_peanutbutter/lists"}