Demo Repo for Adonis v6 Postgis blog post
npm i
to install deps- create a
.env
file that sets theDB_
env variables to your postgres db credentials (that has the postgis extension installed) - run
node ace postgis:test
- if successful, you you see a log output like this:
[ info ] ST_geomFromText('Point(0 0)')