diff --git a/.env.example b/.env.example index 8d2ec46..3068ba2 100644 --- a/.env.example +++ b/.env.example @@ -1,7 +1,16 @@ +# Port used to serve the web application HTTP_PORT=3030 -DATABASE=marketplace_starter_js_development -DATABASE_USER=FILLME -DATABASE_PASSWORD=FILLME + +# Database configuration +DB_NAME=marketplace_starter_js_development +DB_USERNAME=FILLME +DB_PASSWORD=FILLME +DB_HOST=localhost +DB_PORT=5432 + +# Basic Auth Configuration for Provisioning APIs BASIC_AUTH_USERNAME=FILLME BASIC_AUTH_PASSWORD=FILLME -QN_SSO_SECRET=FILLME \ No newline at end of file + +# JWT Configuration for SSO +QN_SSO_SECRET=FILLME diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 49158be..4a0193c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,9 +57,11 @@ jobs: run: | cd webapp && cat > .env < { - if ('associate' in models[key]) { + if ("associate" in models[key]) { models[key].associate(models); } }); export { sequelize }; -export default models; \ No newline at end of file +export default models;