Learning Sequelize.js(v5) ORM by examples
Put environment variables into .env
file.
For local:
POSTGRES_HOST=127.0.0.1
POSTGRES_USER=testuser
POSTGRES_PASSWORD=testpass
POSTGRES_DB=node-sequelize-examples
POSTGRES_PORT=5430
Or using a SaaS: https://customer.elephantsql.com/instance