<div dir="auto"><div dir="auto">Your question is very vague about what you are trying to accomplish, so I can only give a very general response.</div><div dir="auto"><br></div><div>GeoMoose (or anything running in a web browser) cannot talk to PostgreSQL directly.  You need some middleware on the web server to bridge the two.  That could be anything from MapServer/GeoServer or a simple perl/php/python/ruby/nodejs script to a full fledged framework.</div><div dir="auto"><br></div><div dir="auto">What makes the most sense depends on what you are trying to do and what tools you are comfortable with.</div><div dir="auto"><br></div><div dir="auto">If you give us a better idea of what you are trying to achieve and what environment and tools you have available, we can likely provide you with better suggestions.<br></div><div dir="auto"><br></div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Mon, Feb 24, 2020, 02:10 Jul.Ivars . <<a href="mailto:julien.ivars@outlook.com" target="_blank" rel="noreferrer">julien.ivars@outlook.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="FR" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Hello !<br>
I’m using Geomoose for a project and I want to connect a Database (Postgres) to geomoose … but I don’t know how to …
<br>
I’ve try some things like npm « pg » but it didn’t work and I don’t know at all how to do … Did I have to did it like, using ‘pg’ to connect and after put all my connection into the index.js ? Or I am totally wrong ?<u></u><u></u></p>
</div>
</div>

_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org" rel="noreferrer noreferrer" target="_blank">Geomoose-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geomoose-users" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/geomoose-users</a></blockquote></div></div></div>