Is there a method to join points together to create a polygon in OpenLayers or other WebGIS platforms?

I have been searching for some while and I have found that dropzone.js can allow me to upload data to my SQL table as points which can be displayed but I cannot find anything that carries out a similar method like QGIS or ArcGIS "Points to Polygon".

closed as too broad by BERA, whyzar, aldo_tapia, nmtoken, PolyGeo Jun 5 '18 at 20:08

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.