{"id":18948874,"url":"https://github.com/cvalencia1991/cartShop","last_synced_at":"2025-04-15T23:31:03.359Z","repository":{"id":241425989,"uuid":"806159143","full_name":"cvalencia1991/carro-de-compras","owner":"cvalencia1991","description":"This is a Cart Shop Strucutre of the the item add, access and create and access implement authetication Bearer Token","archived":false,"fork":false,"pushed_at":"2024-08-08T01:48:40.000Z","size":153,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2024-08-08T03:56:51.808Z","etag":null,"topics":["api-rest","docker","docker-compose","ruby-on-rails"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cvalencia1991.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-05-26T14:41:40.000Z","updated_at":"2024-08-08T01:48:44.000Z","dependencies_parsed_at":"2024-05-28T09:12:20.924Z","dependency_job_id":null,"html_url":"https://github.com/cvalencia1991/carro-de-compras","commit_stats":null,"previous_names":["cvalencia1991/carro-de-compras"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvalencia1991%2Fcarro-de-compras","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvalencia1991%2Fcarro-de-compras/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvalencia1991%2Fcarro-de-compras/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvalencia1991%2Fcarro-de-compras/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cvalencia1991","download_url":"https://codeload.github.com/cvalencia1991/carro-de-compras/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223688650,"owners_count":17186299,"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":["api-rest","docker","docker-compose","ruby-on-rails"],"created_at":"2024-11-08T13:14:54.373Z","updated_at":"2025-04-15T23:31:03.034Z","avatar_url":"https://github.com/cvalencia1991.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"./app/assets/images/Cart-Shop-Icon.jpg\" alt=\"\" /\u003e\n  \u003cbr/\u003e\n  \u003ch3\u003e\u003cb\u003eCar Shop\u003c/b\u003e\u003c/h3\u003e\n\u003c/div\u003e\n\n\n# 📗 Table of Contents\n\n- [📖 About the Project](#about-project)\n  - [🛠 Built With](#built-with)\n    - [Tech Stack](#tech-stack)\n    - [Key Features](#key-features)\n- [💻 Getting Started](#getting-started)\n  - [Prerequisites](#prerequisites)\n  - [Setup](#setup)\n  - [Install](#install)\n  - [Usage](#usage)\n  - [Run tests](#run-tests)\n  - [Deployment](#deployment)\n- [👥 Authors](#authors)\n- [🔭 Future Features](#future-features)\n- [🤝 Contributing](#contributing)\n- [⭐️ Show your support](#support)\n- [❓ FAQ (OPTIONAL)](#faq)\n- [📝 License](#license)\n\n\n\n# 📖 Cart Shop \u003ca name=\"about-project\"\u003e\u003c/a\u003e\n\n**Cart Shop** is a API (application Programming interface) that allows the user to create an shop depends of the products\nand the cart items are stablish.\n\n\u003cimg src=\"./app/assets/images/Database ER diagram (Cart Shoop).png\"  alt= \"Design Database Structure\"/\u003e\n\n## 🛠 Built With \u003ca name=\"built-with\"\u003e\u003c/a\u003e\n\n### Tech Stack \u003ca name=\"tech-stack\"\u003e\u003c/a\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eServer\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://rubyonrails.org/\"\u003eRuby on Rails\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eDatabase\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://www.postgresql.org/\"\u003ePostgreSQL\u003c/a\u003e\u003c/li\u003e\n     \u003cli\u003e\u003ca href=\"https://www.sqlite.org/index.html\"\u003eSQlite\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\n### Key Features \u003ca name=\"key-features\"\u003e\u003c/a\u003e\n\n- **When an Item is added to the Car, The system must update the item, but if reduce the item to 0, must delete the item in the car shop**\n- **The user can create the user name and can asses using registration and barer token**\n- **the stock must have control of each one units, make no access adding new items when the cart doesn't have stock**\n- **we have two types of items: events and products, the two types must be specific but the attributes must have price, name, thumbnail and description**\n- **make documentation using Rswag and Implement Testing**\n- **docker the project**\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n\n## 💻 Getting Started \u003ca name=\"getting-started\"\u003e\u003c/a\u003e\n\n\nTo get a local copy up and running, follow these steps.\n\n### Prerequisites\n\nIn order to run this project you need:\n\n\n```sh\n  ruby version 3.3.1\n  gem install rails\n  docker run hello-world\n```\n\n\n### Setup\n\nClone this repository to your desired folder:\n\n\n```sh\n  cd my-folder\n  git clone git@github.com:cvalencia1991/carro-de-compras.git\n\n```\n\n\n### Install\n\nInstall this project with:\n\n```sh\n  cd my-project\n  gem install\n  bundle install\n```\n\n### Usage\n\nTo run the project, execute the following command:\n\nif you are working without docker you can put this commands on the bash terminal\n\n```sh\n  bundle install\n  rails server\n```\n\nif you are working on docker you need first put the image and the render the command in the terminal\n\n```sh\n  docker build -t cart-api-1 /path/to/the/project\n  docker run --name api-2 -p 3000:3000 -e RAILS_MASTER_KEY=$(cat config/master.key) -e DEVISE_JWT_SECRET_KEY=your_jwt_secret_key cart-api-1\n```\nwhen the Master key is inside the credentials\n\nif you want to work in different environments you can use the next command\n```sh\n  docker compose up\n```\n\n### Run tests\n\nTo run tests, run the following command:\n\n```sh\n  rspec .\n```\n\n### Deployment\n\nYou can deploy this project using:\n\n```sh\n  railway\n  render\n```\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 👥 Authors \u003ca name=\"authors\"\u003e\u003c/a\u003e\n\n👤 **Cesar Alberto Valencia Aguilar**\n\n- GitHub: [@githubhandle](https://github.com/cvalencia1991)\n- Twitter: [@twitterhandle](https://twitter.com/twitterhandle)\n- LinkedIn: [LinkedIn](https://www.linkedin.com/in/cesar-valencia-aguilar/)\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n## 🔭 Future Features \u003ca name=\"future-features\"\u003e\u003c/a\u003e\n\n- [ ] **Deploy in a front end framework**\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## 🤝 Contributing \u003ca name=\"contributing\"\u003e\u003c/a\u003e\n\nContributions, issues, and feature requests are welcome!\n\nFeel free to check the [issues page](https://github.com/cvalencia1991/carro-de-compras/issues).\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\n\nIf you like this project please give me start ⭐️\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n## ❓ FAQ (OPTIONAL) \u003ca name=\"faq\"\u003e\u003c/a\u003e\n\n- **Which framework or library could use to deploy the API in the front end development**\n\n  - you can deploy in any framework that you want\n\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n\n\n## 📝 License \u003ca name=\"license\"\u003e\u003c/a\u003e\n\nThis project is [MIT](./LICENSE) licensed.\n\n_NOTE: we recommend using the [MIT license](https://choosealicense.com/licenses/mit/) - you can set it up quickly by [using templates available on GitHub](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). You can also use [any other license](https://choosealicense.com/licenses/) if you wish._\n\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvalencia1991%2FcartShop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcvalencia1991%2FcartShop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvalencia1991%2FcartShop/lists"}