Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 801 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 801 Bytes

AWS Technical series (Integrating PostgreSQL with Next.js)

Part 4 of the AWS Aurora Technical Series.

To see the module, please visit AWS Aurora Technical Series Part IV - PostgreSQL integration with Next.js

Getting started

  1. Start local PostgreSQL
docker-compose up

Note: To re-reun with new changes (configuration, sql migrations), run -

docker-compose up --build --force-recreate -V

-V - Forces volume remount

  1. Add local PostgreSQL credentials to .env.local

.env.local:

DB_USERNAME=user
DB_HOST=0.0.0.0
DB_PASSWORD=test123
DB_PORT=5438
  1. Start next.js local
yarn dev