Skip to content

cjohnson318/motif-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motif Backend

This is a proof of concept for an HTTP server written in Go, using the Gin framework. At the moment, this server listens for a GET request, and then uses gRPC to call a function on a Python gRPC server, and returns a JSON holding the Python server's response.

Running the Code

In one terminal, run go run cmd/main.go. This will start up an HTTP server on port 50052. In another terminal, make a GET request to localhost:50052 and this should print "Hello, Dork!", or similar.

About

Go backend example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published