{"id":24160633,"url":"https://github.com/murilochianfa/redstore-microservice-based","last_synced_at":"2026-05-14T23:38:50.274Z","repository":{"id":45642267,"uuid":"292399192","full_name":"MuriloChianfa/Redstore-Microservice-Based","owner":"MuriloChianfa","description":"Redstore microservice based, a simple implementation with docker containers.","archived":false,"fork":false,"pushed_at":"2023-05-24T05:58:01.000Z","size":9282,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-21T18:30:58.713Z","etag":null,"topics":["docker","ecomerce","microservices","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/MuriloChianfa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2020-09-02T21:33:06.000Z","updated_at":"2022-02-24T13:26:01.000Z","dependencies_parsed_at":"2022-09-13T07:51:50.771Z","dependency_job_id":"c5068e39-f444-48a0-b79d-b01125051f2e","html_url":"https://github.com/MuriloChianfa/Redstore-Microservice-Based","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/MuriloChianfa/Redstore-Microservice-Based","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuriloChianfa%2FRedstore-Microservice-Based","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuriloChianfa%2FRedstore-Microservice-Based/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuriloChianfa%2FRedstore-Microservice-Based/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuriloChianfa%2FRedstore-Microservice-Based/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MuriloChianfa","download_url":"https://codeload.github.com/MuriloChianfa/Redstore-Microservice-Based/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MuriloChianfa%2FRedstore-Microservice-Based/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268880155,"owners_count":24322826,"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-08-05T02:00:12.334Z","response_time":2576,"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":["docker","ecomerce","microservices","php"],"created_at":"2025-01-12T16:15:03.698Z","updated_at":"2026-05-14T23:38:45.246Z","avatar_url":"https://github.com/MuriloChianfa.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"./Web/Frontend/views/assets/images/logo.png\" /\u003e\u003c/p\u003e\n\n#\n\nWelcome to the Redstore microservice based, a simple implementation with docker containers\n\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/MuriloChianfa/Redstore-Microservice-Based/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/MuriloChianfa/Redstore-Microservice-Based/?branch=master) [![Code Coverage](https://scrutinizer-ci.com/g/MuriloChianfa/Redstore-Microservice-Based/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/MuriloChianfa/Redstore-Microservice-Based/?branch=master) [![Build Status](https://scrutinizer-ci.com/g/MuriloChianfa/Redstore-Microservice-Based/badges/build.png?b=master)](https://scrutinizer-ci.com/g/MuriloChianfa/Redstore-Microservice-Based/build-status/master) [![Code Intelligence Status](https://scrutinizer-ci.com/g/MuriloChianfa/Redstore-Microservice-Based/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)\n\n#### How to setup the DEV environment:\n\n```bash\ngit clone https://github.com/MuriloChianfa/Redstore-Microservice-Based.git\n```\n\n```bash\ncd Redstore-Microservice-Based\n```\n\n```bash\ncp .env.example .env \u0026\u0026 vi .env\n```\n\n```bash\nScripts/gen-ssl.sh\n```\n\n```bash\ndocker-compose build \u0026\u0026 docker-compose up -d\n```\n\n```bash\ndocker container exec -u 0 redstore-api composer install \u0026\u0026 \\\ndocker container exec -u 0 redstore-web composer install\n```\n\nTo setup the PROD environment use -f docker-compose.production.yml in two commands\n\n#\n\n## Architecture:\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"./Web/Images/Redstore.jpg\" /\u003e\u003c/p\u003e\n\n#\n\n## Database schema:\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"./Database/MER-Redstore.png\" /\u003e\u003c/p\u003e\n\n### Accessing database: \n```\n$ docker container exec -it redstore-database mysql -u root -p\"simple-server\" -D \"redstore\"\n```\n\n#\n\n## Short example of API endpoints\n\n\u003e Base URL: https://REDSTORE_IP/api\n\n\u003c!--- \u003e Detailed endpoints \u003ca href=\"\"\u003eHere\u003c/a\u003e --\u003e\n\n* GET /products\n* GET /products/{page}/{limit}\n* GET /products/{page}/{limit}/{order}/{direction}\n* GET /product/{id}\n* POST /product\n* POST /product-image/{id}\n* PATCH /product\n* DELETE /product-image/{id}\n\nGetting data with Curl\n```shell\n$ curl -ks -X GET https://REDSTORE_IP/api/product/1 | jq .\n```\nOutput\n```json\n{\n  \"message\": {\n    \"id\": 1,\n    \"name\": \"example product\",\n    \"value\": 20,\n    \"description\": \"example product\",\n    \"available\": 1,\n    \"rate\": 0,\n    \"collection_id\": null,\n    \"category\": {\n      \"id\": 8,\n      \"name\": \"Others\"\n    },\n    \"ProductImage\": []\n  }\n}\n```\n\n#\n\n## Frontend features\n\n\u003e Add and exclude new products and there images\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"./Web/Images/upload-image.png\" /\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"./Web/Images/exclude-image.png\" /\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurilochianfa%2Fredstore-microservice-based","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurilochianfa%2Fredstore-microservice-based","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurilochianfa%2Fredstore-microservice-based/lists"}