Go REST gRPC API?

If I interpret correct:

  1. When starting my web server I am actually starting 2 servers? One web server and one fileserver?

  2. So this also means that the REST API could not be used by foreign applications? Like outside developers?

  3. There is no need for a separate gateway server?

Question: How do I call the REST API without ajax?

  1. No, it’s the same application serving templates AND your API.
  2. No, it doesn’t mean that.
  3. The gateway is still translating the HTTP API calls to the gRPC ones, as you first intended.
  4. As you would call any HTTP service: by doing a request. AJAX just means it’s an asynchronous call, nothing more.

Take a look of Globular, I think it is exactly what you looking for. https://github.com/davecourtois/Globular
Binaries for windows and linux are available, all you have to do it’s to unzip it start the server. Micro Service link SQL (mySql, odbc), LDAP, SMTP, persistence (MongoDB), storage(LevelDB, Big Cache) are already creates. I can append Postgresql as you need in the list of driver whiout to much problem.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.