Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 532 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 532 Bytes

gin-graphql-postgres

clone the repository

git clone [email protected]:AnjaneyuluBatta505/gin-graphql-postgres.git

Run the GIN server

go serve server.go

Make changes to schema by editing the file schema.graphqls

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/