Vector data from database PostGIS

I use Cesium Terrain and Bing image as my base of the 3D map; then I try to pull my vector data(points and lines) from my PostGIS database and render it on the top of base map. Any API to connect the database and render new features on the top of map? Thank you.

Your best best is probably to use GeoServer and display the data in Cesium using a WMS layer from GeoServer.