doesangue-core icon indicating copy to clipboard operation
doesangue-core copied to clipboard

Move to GraphQL API?

Open JoseCage opened this issue 7 years ago • 8 comments

Given the benefits of GraphQL would be a good option to recreate a version of the GraphQL-based API?.

Because we are using Laravel we will use folklore/graphql a very good GraphQL implementation for Laravel.

* Steps to do that:

  • [ ] Create GraphQL Query's, Type's, Mutation's
    • Query

      • [ ] DonorsQuery
      • [ ] CampaignsQuery
      • [ ] BloodGroupsQuery
      • [ ] MyProfileQuery
    • Type

      • [ ] DonorsType
      • [ ] CampaignsType
      • [ ] BloodGroupsType
    • Mutation

      • [ ] UpdateProfileMutation
      • [ ] RegisterDonorMutation
      • [ ] CreateCampaignMutation

JoseCage avatar Jan 22 '18 03:01 JoseCage

I like this idea, with graphQL the implementation for mobile is very easy, light and simple. But, I have no idea why to use GraphQL with laravel being that it is for the API(Back-end)

acidiney avatar Jan 22 '18 18:01 acidiney

@acidiney as mention above, for laravel can be used rebing/graphql-laravel package.

I don't know if it's really easy to implement in mobile dev. Have you been tested before?

JoseCage avatar Jan 22 '18 18:01 JoseCage

@acidiney take a look at my screenshot. I have created a basic implementation with Laravel + GraphQL.

GraphQL Tested

JoseCage avatar Jan 22 '18 18:01 JoseCage

@JoseCage I dont testing but know people what using he in your mobile aplications

acidiney avatar Jan 22 '18 18:01 acidiney

@JoseCage I don't test but know people what using he in your mobile applications

Ah ok... I will read about it.

JoseCage avatar Jan 22 '18 18:01 JoseCage

@acidiney I've deployed to heroku. Test here

JoseCage avatar Jan 22 '18 19:01 JoseCage

@JoseCage Can I work on this issue?

sukuasoft avatar Oct 18 '23 01:10 sukuasoft

@JoseCage

Can I work on this issue?

Not yet. Please check the issues already defined to be resolved.

Info

JoseCage avatar Oct 18 '23 17:10 JoseCage