{"id":17028321,"url":"https://github.com/devkiloton/laravel-ambassador","last_synced_at":"2026-04-04T20:33:28.441Z","repository":{"id":225062558,"uuid":"764951652","full_name":"devkiloton/laravel-ambassador","owner":"devkiloton","description":"A Laravel app for brand ambassadors","archived":false,"fork":false,"pushed_at":"2024-03-06T06:14:58.000Z","size":297,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T21:35:01.047Z","etag":null,"topics":["docker","larvel-10","mysql","redis","stripe"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/devkiloton.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":"2024-02-29T02:13:21.000Z","updated_at":"2024-03-06T03:47:00.000Z","dependencies_parsed_at":"2024-03-05T06:45:31.250Z","dependency_job_id":"59ab6360-0377-427f-bbe1-6e4d8f37efd4","html_url":"https://github.com/devkiloton/laravel-ambassador","commit_stats":null,"previous_names":["devkiloton/laravel-ambassador"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/devkiloton/laravel-ambassador","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkiloton%2Flaravel-ambassador","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkiloton%2Flaravel-ambassador/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkiloton%2Flaravel-ambassador/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkiloton%2Flaravel-ambassador/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devkiloton","download_url":"https://codeload.github.com/devkiloton/laravel-ambassador/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devkiloton%2Flaravel-ambassador/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31413269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","larvel-10","mysql","redis","stripe"],"created_at":"2024-10-14T07:53:40.063Z","updated_at":"2026-04-04T20:33:28.418Z","avatar_url":"https://github.com/devkiloton.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Laravel Ambassador (Monolith)\nYou can see most of the endpoints and its bodies down below:\n\n[\u003cimg src=\"https://run.pstmn.io/button.svg\" alt=\"Run In Postman\" style=\"width: 128px; height: 32px;\"\u003e](https://god.gw.postman.com/run-collection/16889380-bf1a7826-d54f-4e33-ae05-6d2385ebd87d?action=collection%2Ffork\u0026source=rip_markdown\u0026collection-url=entityId%3D16889380-bf1a7826-d54f-4e33-ae05-6d2385ebd87d%26entityType%3Dcollection%26workspaceId%3Db10972d8-d348-4dad-a75c-df1938ec825e)\n\nTry to interact locally with the frontend:\n\n[Admin](https://github.com/devkiloton/vue-admin) (don't forget to setup `VUE_APP_API_URL` in the `.env`)\n\n[Checkout](https://github.com/devkiloton/nuxt-checkout) (use a `code` from any link in the db as a route param to make the checkout and set Stripe credentials in the config)\n\n### Running the project\nFirst things first, setup the environment variables, the `.env.example` is equal to the `.env` excepting the Stripe credentials that you must to create and the `MAIL_HOST` variable that you must to define based on you local machine (default is `docker.for.mac.localhost`).\n\nInstall Node.js deps:\n```\nnpm i\n```\nInstall PHP deps:\n```\ncomposer install\n```\nInstall the mailhog [here](https://github.com/mailhog/MailHog) to run a mail server locally and then start it with:\n```\nmailhog\n```\nCreate and start the containers:\n```\ndocker-compose up\n```\nAccess the backend terminal:\n```\ndocker-compose exec backend sh\n```\nInside the backend terminal, mock the db with the seeds:\n```\nphp artisan db:seed\n```\nNow, leave the backend terminal and start the application:\n```\nphp artisan serve\n```\n### Database diagram\n\n```mermaid\nerDiagram\n    users {\n        bigint id PK\n        varchar first_name\n        varchar last_name\n        varchar email\n        varchar password\n        tinyint is_admin\n        timestamp created_at\n        timestamp updated_at\n    }\n\n    links {\n        bigint id PK\n        varchar code\n        bigint user_id FK\n        timestamp created_at\n        timestamp updated_at\n    }\n    \n    link_products {\n        bigint id PK\n        bigint link_id FK\n        bigint product_id FK\n    }\n\n    products {\n        bigint id PK\n        varchar title\n        varchar description\n        varchar image\n        decimal price\n        timestamp created_at\n        timestamp updated_at\n    }\n    \n    orders {\n        bigint id PK\n        varchar transaction_id\n        bigint user_id FK\n        varchar code\n        varchar customer_email\n        varchar first_name\n        varchar last_name\n        varchar email\n        varchar address\n        varchar address2\n        varchar city\n        varchar country\n        varchar zip\n        tinyint complete\n        timestamp created_at\n        timestamp updated_at\n    }\n\n    order_items {\n        bigint id PK\n        bigint order_id FK\n        varchar product_title\n        decimal price\n        int quantity\n        decimal admin_revenue\n        decimal customer_revenue\n        timestamp created_at\n        timestamp updated_at\n    }\n    \n    personal_access_tokens {\n        bigint id PK\n        varchar tokenable_type\n        bigint tokenable_id\n        varchar name\n        varchar token\n        text abilities\n        timestamp last_used_at\n        timestamp created_at\n        timestamp updated_at\n    }\n\n    migrations {\n        int id PK\n        varchar migration\n        int batch\n    }\n\n    orders }o--|| order_items : order_id\n    link_products }|--o{ products : product_id\n    link_products }|--o{ links: link_id\n    users }o--|| links : user_id\n    users }o--|| orders : user_id\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkiloton%2Flaravel-ambassador","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevkiloton%2Flaravel-ambassador","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevkiloton%2Flaravel-ambassador/lists"}