git clone [email protected]:AnjaneyuluBatta505/gin-graphql-postgres.git
go serve server.go
After making changes run the below command to auto generate the models
and resolvers
. We need to implement the resolvers.
gqlgen generate
Now, run the server and goto http://localhost:8080 to play with graphql.
References: https://gorm.io/, https://graphql.org/learn/