๐๐ง Laravel
unicodeveloper opened this issue ยท 18 comments
Current Status
-
Codebase functionality complete! RFC is now open:
gothinkster/laravel-realworld-example-app -
Interested in helping out? Say hello! ๐
gitter.im/realworld-dev/laravel
Todo:
- ๐จ Create logo for repo & update issue status (@EricSimons)
- ๐ Fork the starter repo & post the link in this issue
- ๐จ Implement all of Conduit's functionality per the spec & API
- ๐ Peer review of final codebase by RealWorld admins & community (RFC)
- ๐ Tag v1 release and officially list it on the README!
I would love to work on this!
+1
me too!
@unicodeveloper @lincolnbrito Awesome โ lets get this started! Can one of you fork our starter kit and post the link in this issue? I also created a logo that you can use for the readme:
Just set up the Gitter chatroom for this! Lets do our collaborator coordination in there ๐
@EricSimons I've setup a repo for this
https://github.com/iluminar/laravel-realworld-example-app
Task list categorized by api
-
Articles
- GET - Feed
- GET - All articles
- GET - Articles by author
- GET - Articles favorited by username
- GET - Articles by tag
- POST - Create article
- GET - Single article by slug
- DEL - Delete article
- PUT - Update article
- POST - Favorite article
- DEL - Unfavorite article
-
Auth
- POST - Login
- POST - Login and remember token
- POST - Register
- GET - Get current user
- PUT - Update user
-
Comments
- GET - All comments for article
- POST - Create comment for article
- DEL - Delete comment
-
Profile
- GET - Profile
- POST - Follow profile
- DEL - Unfollow profile
-
Tags
- GET - Get all tags
I'm working on Register and Login api
If nobody's already working on it, I'll take care of the articles API
So I took the liberty to finish this myself from scratch, since I had some time on my hand and wanted to start making contributions to the open source community :)
I've updated and cleaned up the repo. The latest code can be found below. I've added clear documentation throughout the code. The only thing pending is updating the read me with instructions and info related to code.
https://github.com/SandeeshS/laravel-realworld-example-app
I want to know if we can create a new PR for the laravel backend and point to this. Since contributors can easily find and work on this repo, or we clean up this PR and continue here. I'll wait for reviews from fellow members before finalising the code changes and then tag v1. Appreciate any feedback.
@SandeeshS holy smokes! Nice work!!!
@Hasnayeen @unicodeveloper @MattMangoni can you guys take a look at the repo @SandeeshS made and lmk if I can update the status to point at that?
@EricSimons , yes, I think that would be a good idea
Well looks like the laravel section is really lacking contributors.
I've added complete model factories and a full configurable database seeder. So anyone can just run the seeder and have a ready server populated with data, including all the relationships. This will be very useful for users testing the api or trying to couple the frontend.
The readme is updated with the complete instructions and information regarding the app. I'm gonna couple a frontend on my local server and perform few final tests and then tag v1 for use.
@EricSimons can you please change the main comment to reflect the repo changes and the task list. Also all the task list mentioned in #20 (comment) are complete.
@SandeeshS just cloned your repo and put it under the main org + added you to it!
Lets get the RFC opened up on this thing โ does anyone know folks on the core Laravel team/community that could come provide feedback?
@EricSimons I have taken my time to go through the source code and I can comfortably say that this is SOLID! @SandeeshS did a great job!!!
Thanks for owning this man! ๐พ ๐
@unicodeveloper thank you. The code base has been updated with cors and some more changes and should be set. We'll wait for a review like @EricSimons says before tagging a main release. Meanwhile i'll be taking any issues or PR and keep things in check. Next on the list is adding tests. If someone wants to then they can go forward and do it, if not i'll work on it once i get some time on my hand.
@EricSimons anyway we can push the completed backend on the main page? I'd consider @unicodeveloper as a good peer for the review judging by his background in the laravel community. You guys could do a test run with a local setup to verify the api, there's clear instructions.
I also started writing tests, so that it'd be easier for anyone to make changes going further.
@SandeeshS absolutely โ I just need to change the layout/design of the readme to be able to accommodate this + upcoming stacks :) Will have this listed there by EOD. Great job! ๐ฏ
Since this has been moved to the GoThinkster org, I vote that we close this issue. All future conversation should happen in gothinkster/laravel-realworld-example-app unless it's application to the RealWorld project at large.
cc @EricSimons
Agreed โ closing this issue ๐