Skip to content

mattstrayer/adonis-v6-postgis-demo

Repository files navigation

Demo Repo for Adonis v6 Postgis blog post

Instructions

  1. npm i to install deps
  2. create a .env file that sets the DB_ env variables to your postgres db credentials (that has the postgis extension installed)
  3. run node ace postgis:test
  4. if successful, you you see a log output like this:
[ info ] ST_geomFromText('Point(0 0)')

About

Example repo showing how to wire up knex-postgis to an Adonis v6 app

Topics

Resources

Stars

Watchers

Forks