JohnnyParra / Chatty-Birds-Server

0 stars 0 forks source link

Create Database & API #1

Open JohnnyParra opened 2 weeks ago

JohnnyParra commented 2 weeks ago

Create a the API and database to be used by the client using these technologies but not limited to:

JohnnyParra commented 2 weeks ago

Currently exploring JPA, Hibernate and Graphql. adding @DynamicUpdate to only update the columns that are being changed increasing efficiency.

JohnnyParra commented 2 weeks ago

Breaking down graphql schemas into input types and making Avatar metatdata its own type for better control.

JohnnyParra commented 2 weeks ago

At the moment hibernate is generating more than needed queries to return data to graphql. if i only request the username for a specific id it will, in it current state, fetch the entire row and send just the username to graphql. This does not seem efficient. Looking into it. custom queries might be a solution.

JohnnyParra commented 2 weeks ago

Im learning more about hibernate to see how efficient i can make it before resorting to custom queries.