/monopoly-banking

Primary LanguageJavaScriptMIT LicenseMIT

monopoly-banking

Running App

You must set the following environment variables prior to running:

  • MONOPOLY_APP_JWT_SECRET (this value should be base64 encoded)
  • MAILJET_API_KEY
  • MAILJET_SECRET_KEY
  • MAILJET_SENDER_EMAIL_ADDRESS
  • MAILJET_SENDER_EMAIL_NAME

For Dev

Run the following command: mvn spring-boot:run

For Prod

You must also set the following environment variables before starting the production application:

  • POSTGRES_URL
  • POSTGRES_PORT
  • MONOPOLY_APP_DB_USER
  • MONOPOLY_APP_DB_PASSWORD

Once environment variables are set, run the following command: mvn spring-boot:run -Pprod

References