-
-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
backenddiscussiondocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestfrontendswoc25
Description
Is there an existing issue for this?
- I have searched the existing issues
Feature Description
Currently, the backend uses REST API for handling routes like /uploadImage and /uploadMetaData. This feature request proposes migrating the existing REST API to GraphQL to improve the efficiency, flexibility, and scalability of the project.
GraphQL will consolidate multiple REST endpoints into a single /graphql endpoint and provide the ability for clients to query only the data they need. Additionally, GraphQL will simplify fetching nested or related data compared to REST.
Use Case
This feature will:
- Allow users to fetch and send only the required data, improving network efficiency.
- Simplify API interactions by consolidating multiple endpoints into one.
- Provide a more flexible and scalable API structure, especially useful for complex queries involving nested data.
Benefits
- Flexibility: Clients can request exactly the data they need, reducing over-fetching or under-fetching.
- Efficiency: GraphQL reduces the need for multiple network requests to fetch related data.
- Scalability: As the project grows, managing and extending the API will be more straightforward.
- Developer Experience: Simplified schema design and auto-documentation of GraphQL APIs enhance both frontend and backend development.
Priority
High
Record
- I agree to follow this project's Code of Conduct
- I'm a WOB contributor
- I want to work on this issue
- I'm willing to provide further clarification or assistance if needed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
backenddiscussiondocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestfrontendswoc25