You could also create a web application in Python or Go using the existing libraries and build out the appropriate REST endpoints. Whether this is a good idea or not… really depends.
For example, let’s say you’re using python. You could use falcon as your WSGI framework, build out the appropriate resource classes, and then run that application using uwsgi (or similar). If you were building say… a social network, this application would have calls that your web UI would talk to. For example you may have an endpoint that returns a user’s friends, something like /v0//friends, which gets translated into the appropriate database query and passes the response along. Caching here may also make sense.
I recommend you sketch out your overall application architecture, so you can figure out some approaches to abstract/encapsulate the business logic from the actual database IO.