An example Koa app.
-
Install dependencies:
npm install -
Install the Postgres app: https://postgresapp.com/.
-
Add Postgres commands to your
$PATH:export PATH="/Applications/Postgres.app/Contents/Versions/latest/bin:$PATH" -
Make a copy of the environment variables file:
cp .env.template .envThen fill out the values corresponding to your local Postgres instance.
-
Run the app:
npm run dev