gothinkster / realworld

"The mother of all demo apps" β€” Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more

Home Page:https://main--realworld-docs.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ—„πŸ”§ Phalcon

linxlad opened this issue Β· comments

Current Status

  • 🏁 Fork the starter repo & post the link in this issue
  • 🎨 Create logo for repo & update issue status (@EricSimons)
  • πŸ”¨ Implement all of Conduit's functionality per the spec & API
  • πŸ‘€ Peer review of final codebase by RealWorld admins & community (RFC)
  • πŸŽ‰ Tag v1 release, move repo to main org, and officially list it on the README!

Hey, I would like to implement a backend example with Phalcon.

@EricSimons Is it possible to work your magic on the logo? :)

@linxlad yessir! :)

phalcon

Thank you kind sir :)

API Tasks:

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

@EricSimons @SandeeshS Not a biggie but Phalcon is missing from the Work In Progress README section :)

@linxlad ah sorry about that. Guess Eric missed it on the last update. I'll create a PR to add this πŸ‘

@linxlad added with #114 @EricSimons will merge it when he's online. I've also sorted the list alphabetically so that people don't take offense with one being ahead of another :D

Thanks :)

Thanks for the PR @SandeeshS! Sorry about that @linxlad β€” can be kinda hard to keep track of all of the implementations currently in the pipeline πŸ˜“

@EricSimons It's no problem at all, just thought I'd mention it, I appreciate the size of the workload you have to deal with, keep up the good work :)

@EricSimons @SandeeshS I have completed functionality. I am currently introducing CI and tests but would be nice to get the peer reviews started so I can make improvements

NB: I will probably making regular improvements to reflect the latest releases of Phalcon. Also there are some methods I would like to revisit at a later stage.

@linxlad awesome πŸ‘ I missed the last notification and didn't read the message. You can add the tests slowly taking your time, no hurry. I'd love to test this on my end once but i don't see any instructions to get this running without docker. Is there any simple way i can get this up and running and test the api locally? Also we can move this repo and get this listed once all the tests come out green :)

@SandeeshS

I will update the readme this evening with everything.

Phalcon is a compiled C extension for PHP. So I provided the docker/nanobox as they have the extension pre-loaded. However if you want to run this in another environment (WAMP/LAMP for example) you would need to download the latest extension and add it yourself :)

Extensions for Linux
Extensions for Windows

How can I continue having this peer reviewed? :)

@linxlad getting it running locally now :) Have you fully tested it against one of the frontends to make sure all works properly? If so, I'll set up the official repo for this!

@linxlad well, have you?

Hello we are currently moving all work in progress to Github Discussions.
I'll close this issue by now, you can find instruction to open a discussion there : #633

Thanks for your contribution !