doesangue-core
doesangue-core copied to clipboard
Move to GraphQL API?
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
- [ ]
-
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 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?
@acidiney take a look at my screenshot. I have created a basic implementation with Laravel + GraphQL.
@JoseCage I dont testing but know people what using he in your mobile aplications
@JoseCage I don't test but know people what using he in your mobile applications
Ah ok... I will read about it.
@acidiney I've deployed to heroku. Test here
@JoseCage Can I work on this issue?
@JoseCage
Can I work on this issue?
Not yet. Please check the issues already defined to be resolved.