{"id":15558906,"url":"https://github.com/sjdev2212/bookstore-challenge","last_synced_at":"2025-07-21T04:07:52.952Z","repository":{"id":203158745,"uuid":"708953025","full_name":"sjdev2212/bookstore-challenge","owner":"sjdev2212","description":"Application built with Ruby on Rails  where the user can browse books and save them in favorites .","archived":false,"fork":false,"pushed_at":"2024-05-06T17:17:49.000Z","size":185,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-28T09:39:45.050Z","etag":null,"topics":[],"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/sjdev2212.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":"2023-10-23T18:04:56.000Z","updated_at":"2024-05-06T17:17:53.000Z","dependencies_parsed_at":"2024-05-06T18:50:50.943Z","dependency_job_id":null,"html_url":"https://github.com/sjdev2212/bookstore-challenge","commit_stats":null,"previous_names":["sjdev2212/bookstore-challenge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sjdev2212/bookstore-challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjdev2212%2Fbookstore-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjdev2212%2Fbookstore-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjdev2212%2Fbookstore-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjdev2212%2Fbookstore-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sjdev2212","download_url":"https://codeload.github.com/sjdev2212/bookstore-challenge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sjdev2212%2Fbookstore-challenge/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266236920,"owners_count":23897287,"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":"2024-10-02T15:41:00.596Z","updated_at":"2025-07-21T04:07:52.938Z","avatar_url":"https://github.com/sjdev2212.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bookstore\n\n\u003e ROR app to add books as an admin or browse books as a user\n\u003e\n\u003e Admin credentials\n\u003e\n\u003e user:  admin@gmail.com\n\u003e\n\u003e password: 313131\n\u003e\n\u003e The administrator can add, delete, update books authors and publisher.  The regular user can sign up or login and browse book.\n\u003e\n\u003e Athentication using Devise.\n\u003e\n\u003e Authorization using Cancancan\n\n Application buit with Ruby on Rails\n\n\n## Api Endpoints\n\nGet all available books\n\n[https://bookstore-0c0a.onrender.com/api/books](https://bookstore-qou1.onrender.com/api/books)\n\nGet 1 book by id\n\n[https://bookstore-0c0a.onrender.com/api/book/:id](https://bookstore-qou1.onrender.com/api/book/5)\n\nPost  book (create book)\n\n[https://bookstore-0c0a.onrender.com/api/book](https://bookstore-qou1.onrender.com/api/books)s\n\n Put  Update book\n\n[https://bookstore-0c0a.onrender.com/api/books/:id](https://bookstore-qou1.onrender.com/api/books/:id)\n\nDelete book\n\n[https://bookstore-0c0a.onrender.com/api/book](https://bookstore-qou1.onrender.com/api/books/:id)s/:id\n\nPagination\n\n[https://bookstore-0c0a.onrender.com/api/books?page=1\u0026amp;per_page=5](https://bookstore-0c0a.onrender.com/api/books?page=1\u0026per_page=5])\n\nFilter books by Titles\n\nGet\n\n[https://bookstore-0c0a.onrender.com/api/books/filter_title?title=norwegian](https://bookstore-qou1.onrender.com/api/books/filter_title?title=norwegian)\n\nFilter by price range\n\nGet\n\n[https://bookstore-0c0a.onrender.com/api/books/filter_price?min_price=1\u0026amp;max_price=10](https://bookstore-qou1.onrender.com/api/books/filter_price?min_price=1\u0026\u0026max_price=10)\n\nFilter by author name\n\nGet\n\n[https://bookstore-0c0a.onrender.com/api/books/filter_author?author=kin](https://bookstore-qou1.onrender.com/api/books/filter_author?author=king)g\n\n## Built With\n\n- Major languages: Ruby\n- Frameworks: ROR\n- Gems: devise, bigdecimal, will_paginate, cancancan,\n\n## Getting Started\n\nTo get a local copy up and running follow these simple example steps.\n\n### Prerequisites\n\nYou need to have followings installed in your local machine:\n\n- Ruby '3.1.2'\n- `Postgresql`\n- `Rails 7`\n\n### Setup\n\nTo setup the project in your local, in the repo page:\n\n- \n- Open terminal of path you want to install project and run this command:\n  `git clone  https://github.com/sjdev2212/bookstore-challenge.git`\n- `cd bookstore/`\n- `bundle install`\n- `bin/rails db:create`\n- `bin/rails db:migrate`\n\n## Instruction on the usage\n\n- Run the following comands in your command line:\n- `rails s`\n- `open any browser`\n- `type \"localhost:3000\"`\n- `enjoy the app`\n\n## Author\n\n👤 **Anibal Amoroso**\n\n- [GitHub:](https://github.com/sjdev2212)\n- [LinkedIn](https://linkedin.com/in/anibalamoroso/)\n\n## 🤝 Contributing\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page](https://github.com/sjdev2212/bookstore-challenge/issues).\n\n## Show your support\n\nGive a ⭐️ if you like this project!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjdev2212%2Fbookstore-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsjdev2212%2Fbookstore-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsjdev2212%2Fbookstore-challenge/lists"}