{"id":19074936,"url":"https://github.com/mguinea/lumen-ddd-realworld-example","last_synced_at":"2025-08-21T20:08:11.856Z","repository":{"id":50974821,"uuid":"364367412","full_name":"mguinea/lumen-ddd-realworld-example","owner":"mguinea","description":"Backend implementation for RealWorld based on Lumen, DDD and Hexagonal architecture.","archived":false,"fork":false,"pushed_at":"2021-07-31T20:53:28.000Z","size":389,"stargazers_count":10,"open_issues_count":6,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-18T19:41:32.726Z","etag":null,"topics":["api","best-practices","ddd","hexagonal","lumen","monorepository","php","solid","tdd"],"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/mguinea.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}},"created_at":"2021-05-04T19:41:29.000Z","updated_at":"2024-05-04T17:35:22.000Z","dependencies_parsed_at":"2022-09-04T07:50:31.419Z","dependency_job_id":null,"html_url":"https://github.com/mguinea/lumen-ddd-realworld-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mguinea%2Flumen-ddd-realworld-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mguinea%2Flumen-ddd-realworld-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mguinea%2Flumen-ddd-realworld-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mguinea%2Flumen-ddd-realworld-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mguinea","download_url":"https://codeload.github.com/mguinea/lumen-ddd-realworld-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251538955,"owners_count":21605615,"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","best-practices","ddd","hexagonal","lumen","monorepository","php","solid","tdd"],"created_at":"2024-11-09T01:52:50.683Z","updated_at":"2025-04-29T16:27:32.923Z","avatar_url":"https://github.com/mguinea.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ![RealWorld Example App](logo.png)\n\n\u003e ### Lumen codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the [RealWorld](https://github.com/gothinkster/realworld) spec and API.\n\n\n### [Demo](https://github.com/gothinkster/realworld) \u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp; [RealWorld](https://github.com/gothinkster/realworld)\n\n\nThis codebase was created to demonstrate a fully fledged fullstack application built with **Lumen** including CRUD operations, authentication, routing, pagination, and more.\n\nWe've gone to great lengths to adhere to the **Lumen** community styleguides \u0026 best practices.\n\nFor more information on how to this works with other frontends/backends, head over to the [RealWorld](https://github.com/gothinkster/realworld) repo.\n\n\n# How it works\n\n\u003e Describe the general architecture of your app here TODO\n\n# Getting started\n\n\u003e npm install, npm start, etc. TODO\n\n# Resources\n- https://jwt-auth.readthedocs.io/en/develop/lumen-installation/\n- https://www.positronx.io/laravel-jwt-authentication-tutorial-user-login-signup-api/\n\n# Conventions\n\n# Endpoints overview\n\n| Verb | Endpoint | Description |\n|----------|----------|----------|\n| POST | /api/users/login | Authentication |\n| POST | /api/users | Registration |\n| GET | /api/user | Current User |\n| PUT | /api/user | Update User |\n| GET | /api/profiles/:username | Get Profile |\n| POST | /api/profiles/:username/follow | Follow User |\n| DELETE | /api/profiles/:username/follow | Unfollow User |\n| GET | /api/articles | List Articles |\n| GET | /api/articles/feed | Feed Articles |\n| GET | /api/articles/:slug | Get Article |\n| POST | /api/articles | Create Article |\n| PUT | /api/articles/:slug | Update Article |\n| DELETE | /api/articles/:slug | Delete Article |\n| POST | /api/articles/:slug/comments | Add Comments to an Article |\n| GET | /api/articles/:slug/comments | Get Comments from an Article |\n| DELETE | /api/articles/:slug/comments/:id | Delete Comment |\n| POST | /api/articles/:slug/favorite | Favorite Article |\n| DELETE | /api/articles/:slug/favorite | Unfavorite Article |\n| GET | /api/tags | Get Tags |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmguinea%2Flumen-ddd-realworld-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmguinea%2Flumen-ddd-realworld-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmguinea%2Flumen-ddd-realworld-example/lists"}