frankcollins3 / Next-Water-App

Happy, Healthy Water Cycling App that tracks user/human fluid intake.
https://next-water-app.vercel.app
1 stars 0 forks source link

GraphQL selection [2:08am] #2

Open frankcollins3 opened 1 year ago

frankcollins3 commented 1 year ago

attempting to do: set up GraphQL for next.

error: not really an error but, learning GraphQLHTTP specifically for an interview, leaves the decision in uncertainty.

what chat has to say about GQL Correspondent to this app's version of next: "next": "13.4.9", Screen Shot 2023-07-07 at 2 07 02 AM

proposed approach: using GraphQLExpress (terminal was saying deprecated, w/ that same library now understood to be GraphQLHttp ( i think ) GQLexpress deals with the queries and mutations but that doesn't mean graphql-request is correct, (it does sound to be)

// also... this isn't a crazy complicated app, saw something on google saying: GraphQL on a small app can overcomplicate it. I think using the "focused on ease of use and http requests" is perfect for an app that could do well with GQL but doesn't need all the extra features.

frankcollins3 commented 1 year ago

bookmark: in react/express GraphQL can and did go successfully in my situation in server/index.js was going to wonder where it would go and think pages/api but could be wrong [2:17am]