This golang project is an example which uses the goapi library to implement an API server.
The goapi library is a framework for implementing an API server. The statically-linked all-in-one CLI binary built by this project may run as either the client or the server, depending on the command line arguments.
The API server responds to both GRPC and JSON REST requests. The framework
also includes an /auth
endpoint which responds with JWT auth tokens,
middleware that enforces authentication, a user database, SSL encryption, and
other standard requirements for any API server.