Skip to content

creativesuraj/go-gRPC-graphQL-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aeon Take Home Assignment

Develop a Golang application using gRPC to serve data about books. The assignment should showcase your skills with gRPC, GraphQL, and Golang best practices.

Installation

MacOS

Install GO

  brew install go

Download the dependencies

Go to the project working directory and run

  go mod download

Set Environment Variables

Set the following environment variables for the grpc-server

  export DB_URI=
  export DB_NAME=
  export GRPC_SERVER_PORT=

Set the following environment variables for the gql-server

  export GRPC_SERVER_URL=
  export GQL_SERVER_PORT=

Run grpc-server

Go inside grpc-server and run

  go run server.go

Run gql-server

Go inside gql-server and run

  go run server.go

Make GraphQL Requests

The GraphQL playground is running on

http://localhost:{GQL_SERVER_PORT}/play

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages