From 3685fa6d1d16d969a3958ca5e50baf79cf2437cb Mon Sep 17 00:00:00 2001 From: Morgan Ludtke <42942267+ludtkemorgan@users.noreply.github.com> Date: Thu, 8 Feb 2024 11:05:09 -0600 Subject: [PATCH] fix: rename backend directory (#3871) --- .circleci/config.yml | 10 +++---- .eslintrc.js | 2 +- README.md | 28 ++++++++++--------- {backend_new => api}/.env.template | 0 {backend_new => api}/.eslintrc.js | 0 {backend_new => api}/.gitignore | 0 {backend_new => api}/.prettierrc | 0 {backend_new => api}/Procfile | 0 {backend_new => api}/README.md | 0 {backend_new => api}/nest-cli.json | 0 {backend_new => api}/package.json | 0 {backend_new => api}/prisma/constants.ts | 0 .../prisma/migrations/00_init/migration.sql | 0 .../01_change_to_prisma/migration.sql | 0 .../migrations/02_hba_to_prisma/migration.sql | 0 .../prisma/migrations/migration_lock.toml | 0 {backend_new => api}/prisma/schema.prisma | 0 {backend_new => api}/prisma/seed-dev.ts | 0 .../prisma/seed-helpers/address-factory.ts | 0 .../prisma/seed-helpers/ami-chart-factory.ts | 0 .../seed-helpers/application-factory.ts | 0 .../application-preference-factory.ts | 0 .../prisma/seed-helpers/boolean-generator.ts | 0 .../seed-helpers/demographic-factory.ts | 0 .../seed-helpers/household-member-factory.ts | 0 .../seed-helpers/jurisdiction-factory.ts | 0 .../prisma/seed-helpers/listing-factory.ts | 0 .../prisma/seed-helpers/map-layer-factory.ts | 0 .../multiselect-question-factory.ts | 0 .../prisma/seed-helpers/number-generator.ts | 0 .../reserved-community-type-factory.ts | 0 .../seed-helpers/translation-factory.ts | 0 ...nit-accessibility-priority-type-factory.ts | 0 .../prisma/seed-helpers/unit-factory.ts | 0 .../seed-helpers/unit-rent-type-factory.ts | 0 .../prisma/seed-helpers/unit-type-factory.ts | 0 .../prisma/seed-helpers/user-factory.ts | 0 .../prisma/seed-helpers/word-generator.ts | 0 {backend_new => api}/prisma/seed-staging.ts | 0 {backend_new => api}/prisma/seed.ts | 0 .../scripts/generate-axios-client.ts | 0 .../src/controllers/ami-chart.controller.ts | 0 .../src/controllers/app.controller.ts | 0 .../application-flagged-set.controller.ts | 0 .../src/controllers/application.controller.ts | 0 .../src/controllers/asset.controller.ts | 0 .../src/controllers/auth.controller.ts | 0 .../controllers/jurisdiction.controller.ts | 0 .../src/controllers/listing.controller.ts | 0 .../src/controllers/map-layer.controller.ts | 0 .../multiselect-question.controller.ts | 0 .../reserved-community-type.controller.ts | 0 ...-accessibility-priority-type.controller.ts | 0 .../controllers/unit-rent-type.controller.ts | 0 .../src/controllers/unit-type.controller.ts | 0 .../src/controllers/user.controller.ts | 0 .../activity-log-metadata.decorator.ts | 0 .../enforce-lower-case.decorator.ts | 0 .../src/decorators/match-decorator.ts | 0 .../decorators/permission-action.decorator.ts | 0 .../decorators/permission-type.decorator.ts | 0 .../search-string-length-check.decorator.ts | 0 .../src/dtos/addresses/address-create.dto.ts | 0 .../src/dtos/addresses/address.dto.ts | 0 .../dtos/ami-charts/ami-chart-create.dto.ts | 0 .../ami-charts/ami-chart-query-params.dto.ts | 0 .../dtos/ami-charts/ami-chart-update.dto.ts | 0 .../src/dtos/ami-charts/ami-chart.dto.ts | 0 .../application-flagged-sets/afs-meta.dto.ts | 0 .../afs-pagination-meta.dto.ts | 0 .../afs-query-params.dto.ts | 0 .../afs-resolve.dto.ts | 0 .../application-flagged-set.dto.ts | 0 .../paginated-afs.dto.ts | 0 .../application-method-create.dto.ts | 0 .../application-method.dto.ts | 0 .../applications/accessibility-update.dto.ts | 0 .../dtos/applications/accessibility.dto.ts | 0 .../alternate-contact-update.dto.ts | 0 .../applications/alternate-contact.dto.ts | 0 .../dtos/applications/applicant-update.dto.ts | 0 .../src/dtos/applications/applicant.dto.ts | 0 .../applications/application-create.dto.ts | 0 .../application-csv-query-params.dto.ts | 0 ...ication-multiselect-question-option.dto.ts | 0 .../application-multiselect-question.dto.ts | 0 .../application-query-params.dto.ts | 0 .../applications/application-update.dto.ts | 0 .../src/dtos/applications/application.dto.ts | 0 .../applications/demographic-update.dto.ts | 0 .../src/dtos/applications/demographic.dto.ts | 0 .../household-member-update.dto.ts | 0 .../dtos/applications/household-member.dto.ts | 0 .../applications/paginated-application.dto.ts | 0 .../src/dtos/assets/asset-create.dto.ts | 0 .../src/dtos/assets/asset.dto.ts | 0 ...create-presign-upload-meta-response.dto.ts | 0 .../create-presigned-upload-meta.dto.ts | 0 .../src/dtos/auth/confirm.dto.ts | 0 .../src/dtos/auth/login.dto.ts | 0 .../src/dtos/auth/update-password.dto.ts | 0 .../jurisdictions/jurisdiction-create.dto.ts | 0 .../jurisdictions/jurisdiction-update.dto.ts | 0 .../dtos/jurisdictions/jurisdiction.dto.ts | 0 .../src/dtos/listings/listing-create.dto.ts | 0 .../listings/listing-csv-query-params.dto.ts | 0 .../dtos/listings/listing-event-create.dto.ts | 0 .../src/dtos/listings/listing-event.dto.ts | 0 .../src/dtos/listings/listing-feature.dto.ts | 0 .../dtos/listings/listing-image-create.dto.ts | 0 .../src/dtos/listings/listing-image.dto.ts | 0 .../listing-multiselect-question.dto.ts | 0 .../listings/listing-published-create.dto.ts | 0 .../listings/listing-published-update.dto.ts | 0 .../src/dtos/listings/listing-update.dto.ts | 0 .../src/dtos/listings/listing-utility.dto.ts | 0 .../src/dtos/listings/listing.dto.ts | 0 .../listings/listings-filter-params.dto.ts | 0 .../listings/listings-query-params.dto.ts | 0 .../listings/listings-retrieve-params.dto.ts | 0 .../dtos/listings/paginated-listing.dto.ts | 0 .../src/dtos/map-layers/map-layer.dto.ts | 0 .../map-layers/map-layers-query-params.dto.ts | 0 .../dtos/mfa/request-mfa-code-response.dto.ts | 0 .../src/dtos/mfa/request-mfa-code.dto.ts | 0 .../multiselect-link.dto.ts | 0 .../multiselect-option.dto.ts | 0 .../multiselect-question-create.dto.ts | 0 .../multiselect-question-filter-params.dto.ts | 0 .../multiselect-question-query-params.dto.ts | 0 .../multiselect-question-update.dto.ts | 0 .../multiselect-question.dto.ts | 0 .../paper-application-create.dto.ts | 0 .../paper-application.dto.ts | 0 .../reserved-community-type-create.dto.ts | 0 ...eserved-community-type-query-params.dto.ts | 0 .../reserved-community-type-update.dto.ts | 0 .../reserved-community-type.dto.ts | 0 .../src/dtos/shared/abstract.dto.ts | 0 .../src/dtos/shared/base-filter.dto.ts | 0 .../src/dtos/shared/id.dto.ts | 0 .../src/dtos/shared/min-max-currency.dto.ts | 0 .../src/dtos/shared/min-max.dto.ts | 0 .../src/dtos/shared/pagination.dto.ts | 0 .../src/dtos/shared/success.dto.ts | 0 ...-accessibility-priority-type-create.dto.ts | 0 ...-accessibility-priority-type-update.dto.ts | 0 .../unit-accessibility-priority-type.dto.ts | 0 .../unit-rent-type-create.dto.ts | 0 .../unit-rent-type-update.dto.ts | 0 .../unit-rent-types/unit-rent-type.dto.ts | 0 .../dtos/unit-types/unit-type-create.dto.ts | 0 .../dtos/unit-types/unit-type-update.dto.ts | 0 .../src/dtos/unit-types/unit-type.dto.ts | 0 .../src/dtos/units/ami-chart-item.dto.ts | 0 .../units/ami-chart-override-create.dto.ts | 0 .../src/dtos/units/ami-chart-override.dto.ts | 0 .../src/dtos/units/ami-chart.dto.ts | 0 .../src/dtos/units/hmi.dto.ts | 0 .../src/dtos/units/unit-create.dto.ts | 0 .../src/dtos/units/unit-summarized.dto.ts | 0 .../src/dtos/units/unit-summary-by-ami.dto.ts | 0 .../src/dtos/units/unit-summary.dto.ts | 0 .../src/dtos/units/unit.dto.ts | 0 .../dtos/units/units-summary-create.dto.ts | 0 .../src/dtos/units/units-summary.dto.ts | 0 .../dtos/users/confirmation-request.dto.ts | 0 .../src/dtos/users/email-and-app-url.dto.ts | 0 .../src/dtos/users/paginated-user.dto.ts | 0 .../src/dtos/users/user-create-params.dto.ts | 0 .../src/dtos/users/user-create.dto.ts | 0 .../src/dtos/users/user-filter-params.dto.ts | 0 .../src/dtos/users/user-invite.dto.ts | 0 .../src/dtos/users/user-query-param.dto.ts | 0 .../src/dtos/users/user-role.dto.ts | 0 .../src/dtos/users/user-update.dto.ts | 0 .../src/dtos/users/user.dto.ts | 0 .../enums/application-flagged-sets/view.ts | 0 .../src/enums/applications/order-by-enum.ts | 0 .../src/enums/applications/view-enum.ts | 0 .../src/enums/listings/filter-key-enum.ts | 0 .../src/enums/listings/order-by-enum.ts | 0 .../src/enums/listings/review-order-enum.ts | 0 .../src/enums/listings/view-enum.ts | 0 .../src/enums/mfa/mfa-type-enum.ts | 0 .../multiselect-questions/filter-key-enum.ts | 0 .../validation-method-enum.ts | 0 .../http-method-to-actions-enum.ts | 0 .../permissions/permission-actions-enum.ts | 0 .../src/enums/permissions/user-role-enum.ts | 0 .../src/enums/shared/input-type-enum.ts | 0 .../src/enums/shared/order-by-enum.ts | 0 .../enums/shared/validation-groups-enum.ts | 0 .../admin-or-jurisdiction-admin.guard.ts | 0 {backend_new => api}/src/guards/jwt.guard.ts | 0 {backend_new => api}/src/guards/mfa.guard.ts | 0 .../src/guards/optional.guard.ts | 0 .../src/guards/permission.guard.ts | 0 .../guards/user-profile-permission-guard.ts | 0 .../interceptors/activity-log.interceptor.ts | 0 {backend_new => api}/src/main.ts | 0 .../src/modules/ami-chart.module.ts | 0 .../src/modules/app.module.ts | 0 .../modules/application-flagged-set.module.ts | 0 .../src/modules/application.module.ts | 0 .../src/modules/asset.module.ts | 0 .../src/modules/auth.module.ts | 0 .../src/modules/email.module.ts | 0 .../src/modules/jurisdiction.module.ts | 0 .../src/modules/listing.module.ts | 0 .../src/modules/map-layer.module.ts | 0 .../modules/multiselect-question.module.ts | 0 .../src/modules/permission.module.ts | 0 .../src/modules/prisma.module.ts | 0 .../modules/reserved-community-type.module.ts | 0 .../src/modules/sms-module.ts | 0 ...unit-accessibility-priority-type.module.ts | 0 .../src/modules/unit-rent-type.module.ts | 0 .../src/modules/unit-type.module.ts | 0 .../src/modules/user.module.ts | 0 .../src/passports/jwt.strategy.ts | 0 .../src/passports/mfa.strategy.ts | 0 .../permission-configs/permission_model.conf | 0 .../permission-configs/permission_policy.csv | 0 .../src/services/ami-chart.service.ts | 0 .../src/services/app.service.ts | 0 .../application-csv-export.service.ts | 0 .../application-flagged-set.service.ts | 0 .../src/services/application.service.ts | 0 .../src/services/asset.service.ts | 0 .../src/services/auth.service.ts | 0 .../src/services/email.service.ts | 0 .../src/services/geocoding.service.ts | 0 .../src/services/google-translate.service.ts | 0 .../src/services/jurisdiction.service.ts | 0 .../services/listing-csv-export.service.ts | 0 .../src/services/listing.service.ts | 0 .../src/services/map-layers.service.ts | 0 .../services/multiselect-question.service.ts | 0 .../src/services/permission.service.ts | 0 .../src/services/prisma.service.ts | 0 .../reserved-community-type.service.ts | 0 .../src/services/sendgrid.service.ts | 0 .../src/services/sms.service.ts | 0 .../src/services/translation.service.ts | 0 ...nit-accessibility-priority-type.service.ts | 0 .../src/services/unit-rent-type.service.ts | 0 .../src/services/unit-type.service.ts | 0 .../src/services/user.service.ts | 0 {backend_new => api}/src/temp/.gitignore | 0 .../src/types/CsvExportInterface.ts | 0 .../src/utilities/applications-utilities.ts | 0 .../src/utilities/build-filter.ts | 0 .../src/utilities/build-order-by.ts | 0 .../src/utilities/build-pagination-meta.ts | 0 .../src/utilities/cron-job-starter.ts | 0 .../src/utilities/csv-builder.ts | 0 .../src/utilities/custom-exception-filter.ts | 0 .../src/utilities/deep-find.ts | 0 .../default-validation-pipe-options.ts | 0 .../src/utilities/format-local-date.ts | 0 .../src/utilities/is-empty.ts | 0 .../src/utilities/listing-url-slug.ts | 0 {backend_new => api}/src/utilities/mapTo.ts | 0 .../src/utilities/order-by-validator.ts | 0 .../src/utilities/pagination-helpers.ts | 0 .../src/utilities/password-helpers.ts | 0 .../src/utilities/password-regex.ts | 0 .../src/utilities/unit-utilities.ts | 0 .../listing-create-update-pipe.ts | 0 .../src/views/change-email.hbs | 0 .../src/views/changes-requested.hbs | 0 .../src/views/confirmation.hbs | 0 {backend_new => api}/src/views/csv-export.hbs | 0 .../src/views/forgot-password.hbs | 0 {backend_new => api}/src/views/invite.hbs | 0 .../src/views/layouts/default.hbs | 0 .../src/views/listing-approved.hbs | 0 {backend_new => api}/src/views/mfa-code.hbs | 0 .../src/views/partials/feedback.hbs | 0 .../src/views/partials/footer.hbs | 0 .../src/views/partials/head.hbs | 0 .../src/views/partials/header.hbs | 0 .../src/views/partials/leasing-agent.hbs | 0 .../src/views/partials/simple-footer.hbs | 0 .../src/views/partials/user-name.hbs | 0 .../src/views/portal-account-update.hbs | 0 .../src/views/register-email.hbs | 0 .../src/views/request-approval.hbs | 0 .../test/integration/ami-chart.e2e-spec.ts | 0 .../test/integration/app.e2e-spec.ts | 0 .../application-flagged-set.e2e-spec.ts | 0 .../test/integration/application.e2e-spec.ts | 0 .../test/integration/asset.e2e-spec.ts | 2 +- .../test/integration/auth.e2e-spec.ts | 0 .../test/integration/jurisdiction.e2e-spec.ts | 0 .../test/integration/listing.e2e-spec.ts | 0 .../multiselect-question.e2e-spec.ts | 0 .../integration/permission-tests/helpers.ts | 0 .../permission-as-admin.e2e-spec.ts | 0 ...n-as-juris-admin-correct-juris.e2e-spec.ts | 0 ...ion-as-juris-admin-wrong-juris.e2e-spec.ts | 0 .../permission-as-no-user.e2e-spec.ts | 0 ...ion-as-partner-correct-listing.e2e-spec.ts | 0 ...ssion-as-partner-wrong-listing.e2e-spec.ts | 0 .../permission-as-public.e2e-spec.ts | 0 .../reserved-community-type.e2e-spec.ts | 0 ...it-accessibility-priority-type.e2e-spec.ts | 0 .../integration/unit-rent-type.e2e-spec.ts | 0 .../test/integration/unit-type.e2e-spec.ts | 0 .../test/integration/user.e2e-spec.ts | 0 {backend_new => api}/test/jest-e2e.config.js | 0 .../test/jest-with-coverage.config.js | 0 {backend_new => api}/test/jest.config.js | 0 .../test/unit/passports/jwt.strategy.spec.ts | 0 .../test/unit/passports/mfa.strategy.spec.ts | 0 .../unit/services/ami-chart.service.spec.ts | 0 .../test/unit/services/app.service.spec.ts | 0 .../application-csv-export.service.spec.ts | 0 .../application-flagged-set.service.spec.ts | 0 .../unit/services/application.service.spec.ts | 0 .../test/unit/services/asset.service.spec.ts | 0 .../test/unit/services/auth.service.spec.ts | 0 .../test/unit/services/email.service.spec.ts | 0 .../unit/services/geocoding.service.spec.ts | 0 .../services/jurisdiction.service.spec.ts | 0 .../unit/services/listing.service.spec.ts | 0 .../multiselect-question.service.spec.ts | 0 .../unit/services/permission.service.spec.ts | 0 .../reserved-community-type.service.spec.ts | 0 .../unit/services/translation.service.spec.ts | 0 ...ccessibility-priority-type.service.spec.ts | 0 .../services/unit-rent-type.service.spec.ts | 0 .../unit/services/unit-type.service.spec.ts | 0 .../test/unit/services/user.service.spec.ts | 0 .../test/unit/utilities/build-filter.spec.ts | 0 .../unit/utilities/build-order-by.spec.ts | 0 .../test/unit/utilities/csv-builder.spec.ts | 0 .../test/unit/utilities/deep-find.spec.ts | 0 .../unit/utilities/listing-url-slug.spec.ts | 0 .../unit/utilities/order-by-validator.spec.ts | 0 .../unit/utilities/pagination-helpers.spec.ts | 0 .../unit/utilities/password-helper.spec.ts | 0 .../unit/utilities/password-regex.spec.ts | 0 .../unit/utilities/unit-utilities.spec.ts | 0 {backend_new => api}/tsconfig.build.json | 0 {backend_new => api}/tsconfig.json | 0 {backend_new => api}/yarn.lock | 0 backend_new/src/temp/.gitkeep | 0 package.json | 18 ++++++------ sites/partners/package.json | 2 +- sites/public/package.json | 2 +- 352 files changed, 33 insertions(+), 31 deletions(-) rename {backend_new => api}/.env.template (100%) rename {backend_new => api}/.eslintrc.js (100%) rename {backend_new => api}/.gitignore (100%) rename {backend_new => api}/.prettierrc (100%) rename {backend_new => api}/Procfile (100%) rename {backend_new => api}/README.md (100%) rename {backend_new => api}/nest-cli.json (100%) rename {backend_new => api}/package.json (100%) rename {backend_new => api}/prisma/constants.ts (100%) rename {backend_new => api}/prisma/migrations/00_init/migration.sql (100%) rename {backend_new => api}/prisma/migrations/01_change_to_prisma/migration.sql (100%) rename {backend_new => api}/prisma/migrations/02_hba_to_prisma/migration.sql (100%) rename {backend_new => api}/prisma/migrations/migration_lock.toml (100%) rename {backend_new => api}/prisma/schema.prisma (100%) rename {backend_new => api}/prisma/seed-dev.ts (100%) rename {backend_new => api}/prisma/seed-helpers/address-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/ami-chart-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/application-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/application-preference-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/boolean-generator.ts (100%) rename {backend_new => api}/prisma/seed-helpers/demographic-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/household-member-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/jurisdiction-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/listing-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/map-layer-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/multiselect-question-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/number-generator.ts (100%) rename {backend_new => api}/prisma/seed-helpers/reserved-community-type-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/translation-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/unit-accessibility-priority-type-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/unit-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/unit-rent-type-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/unit-type-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/user-factory.ts (100%) rename {backend_new => api}/prisma/seed-helpers/word-generator.ts (100%) rename {backend_new => api}/prisma/seed-staging.ts (100%) rename {backend_new => api}/prisma/seed.ts (100%) rename {backend_new => api}/scripts/generate-axios-client.ts (100%) rename {backend_new => api}/src/controllers/ami-chart.controller.ts (100%) rename {backend_new => api}/src/controllers/app.controller.ts (100%) rename {backend_new => api}/src/controllers/application-flagged-set.controller.ts (100%) rename {backend_new => api}/src/controllers/application.controller.ts (100%) rename {backend_new => api}/src/controllers/asset.controller.ts (100%) rename {backend_new => api}/src/controllers/auth.controller.ts (100%) rename {backend_new => api}/src/controllers/jurisdiction.controller.ts (100%) rename {backend_new => api}/src/controllers/listing.controller.ts (100%) rename {backend_new => api}/src/controllers/map-layer.controller.ts (100%) rename {backend_new => api}/src/controllers/multiselect-question.controller.ts (100%) rename {backend_new => api}/src/controllers/reserved-community-type.controller.ts (100%) rename {backend_new => api}/src/controllers/unit-accessibility-priority-type.controller.ts (100%) rename {backend_new => api}/src/controllers/unit-rent-type.controller.ts (100%) rename {backend_new => api}/src/controllers/unit-type.controller.ts (100%) rename {backend_new => api}/src/controllers/user.controller.ts (100%) rename {backend_new => api}/src/decorators/activity-log-metadata.decorator.ts (100%) rename {backend_new => api}/src/decorators/enforce-lower-case.decorator.ts (100%) rename {backend_new => api}/src/decorators/match-decorator.ts (100%) rename {backend_new => api}/src/decorators/permission-action.decorator.ts (100%) rename {backend_new => api}/src/decorators/permission-type.decorator.ts (100%) rename {backend_new => api}/src/decorators/search-string-length-check.decorator.ts (100%) rename {backend_new => api}/src/dtos/addresses/address-create.dto.ts (100%) rename {backend_new => api}/src/dtos/addresses/address.dto.ts (100%) rename {backend_new => api}/src/dtos/ami-charts/ami-chart-create.dto.ts (100%) rename {backend_new => api}/src/dtos/ami-charts/ami-chart-query-params.dto.ts (100%) rename {backend_new => api}/src/dtos/ami-charts/ami-chart-update.dto.ts (100%) rename {backend_new => api}/src/dtos/ami-charts/ami-chart.dto.ts (100%) rename {backend_new => api}/src/dtos/application-flagged-sets/afs-meta.dto.ts (100%) rename {backend_new => api}/src/dtos/application-flagged-sets/afs-pagination-meta.dto.ts (100%) rename {backend_new => api}/src/dtos/application-flagged-sets/afs-query-params.dto.ts (100%) rename {backend_new => api}/src/dtos/application-flagged-sets/afs-resolve.dto.ts (100%) rename {backend_new => api}/src/dtos/application-flagged-sets/application-flagged-set.dto.ts (100%) rename {backend_new => api}/src/dtos/application-flagged-sets/paginated-afs.dto.ts (100%) rename {backend_new => api}/src/dtos/application-methods/application-method-create.dto.ts (100%) rename {backend_new => api}/src/dtos/application-methods/application-method.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/accessibility-update.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/accessibility.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/alternate-contact-update.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/alternate-contact.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/applicant-update.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/applicant.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/application-create.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/application-csv-query-params.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/application-multiselect-question-option.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/application-multiselect-question.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/application-query-params.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/application-update.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/application.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/demographic-update.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/demographic.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/household-member-update.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/household-member.dto.ts (100%) rename {backend_new => api}/src/dtos/applications/paginated-application.dto.ts (100%) rename {backend_new => api}/src/dtos/assets/asset-create.dto.ts (100%) rename {backend_new => api}/src/dtos/assets/asset.dto.ts (100%) rename {backend_new => api}/src/dtos/assets/create-presign-upload-meta-response.dto.ts (100%) rename {backend_new => api}/src/dtos/assets/create-presigned-upload-meta.dto.ts (100%) rename {backend_new => api}/src/dtos/auth/confirm.dto.ts (100%) rename {backend_new => api}/src/dtos/auth/login.dto.ts (100%) rename {backend_new => api}/src/dtos/auth/update-password.dto.ts (100%) rename {backend_new => api}/src/dtos/jurisdictions/jurisdiction-create.dto.ts (100%) rename {backend_new => api}/src/dtos/jurisdictions/jurisdiction-update.dto.ts (100%) rename {backend_new => api}/src/dtos/jurisdictions/jurisdiction.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listing-create.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listing-csv-query-params.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listing-event-create.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listing-event.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listing-feature.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listing-image-create.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listing-image.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listing-multiselect-question.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listing-published-create.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listing-published-update.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listing-update.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listing-utility.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listing.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listings-filter-params.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listings-query-params.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/listings-retrieve-params.dto.ts (100%) rename {backend_new => api}/src/dtos/listings/paginated-listing.dto.ts (100%) rename {backend_new => api}/src/dtos/map-layers/map-layer.dto.ts (100%) rename {backend_new => api}/src/dtos/map-layers/map-layers-query-params.dto.ts (100%) rename {backend_new => api}/src/dtos/mfa/request-mfa-code-response.dto.ts (100%) rename {backend_new => api}/src/dtos/mfa/request-mfa-code.dto.ts (100%) rename {backend_new => api}/src/dtos/multiselect-questions/multiselect-link.dto.ts (100%) rename {backend_new => api}/src/dtos/multiselect-questions/multiselect-option.dto.ts (100%) rename {backend_new => api}/src/dtos/multiselect-questions/multiselect-question-create.dto.ts (100%) rename {backend_new => api}/src/dtos/multiselect-questions/multiselect-question-filter-params.dto.ts (100%) rename {backend_new => api}/src/dtos/multiselect-questions/multiselect-question-query-params.dto.ts (100%) rename {backend_new => api}/src/dtos/multiselect-questions/multiselect-question-update.dto.ts (100%) rename {backend_new => api}/src/dtos/multiselect-questions/multiselect-question.dto.ts (100%) rename {backend_new => api}/src/dtos/paper-applications/paper-application-create.dto.ts (100%) rename {backend_new => api}/src/dtos/paper-applications/paper-application.dto.ts (100%) rename {backend_new => api}/src/dtos/reserved-community-types/reserved-community-type-create.dto.ts (100%) rename {backend_new => api}/src/dtos/reserved-community-types/reserved-community-type-query-params.dto.ts (100%) rename {backend_new => api}/src/dtos/reserved-community-types/reserved-community-type-update.dto.ts (100%) rename {backend_new => api}/src/dtos/reserved-community-types/reserved-community-type.dto.ts (100%) rename {backend_new => api}/src/dtos/shared/abstract.dto.ts (100%) rename {backend_new => api}/src/dtos/shared/base-filter.dto.ts (100%) rename {backend_new => api}/src/dtos/shared/id.dto.ts (100%) rename {backend_new => api}/src/dtos/shared/min-max-currency.dto.ts (100%) rename {backend_new => api}/src/dtos/shared/min-max.dto.ts (100%) rename {backend_new => api}/src/dtos/shared/pagination.dto.ts (100%) rename {backend_new => api}/src/dtos/shared/success.dto.ts (100%) rename {backend_new => api}/src/dtos/unit-accessibility-priority-types/unit-accessibility-priority-type-create.dto.ts (100%) rename {backend_new => api}/src/dtos/unit-accessibility-priority-types/unit-accessibility-priority-type-update.dto.ts (100%) rename {backend_new => api}/src/dtos/unit-accessibility-priority-types/unit-accessibility-priority-type.dto.ts (100%) rename {backend_new => api}/src/dtos/unit-rent-types/unit-rent-type-create.dto.ts (100%) rename {backend_new => api}/src/dtos/unit-rent-types/unit-rent-type-update.dto.ts (100%) rename {backend_new => api}/src/dtos/unit-rent-types/unit-rent-type.dto.ts (100%) rename {backend_new => api}/src/dtos/unit-types/unit-type-create.dto.ts (100%) rename {backend_new => api}/src/dtos/unit-types/unit-type-update.dto.ts (100%) rename {backend_new => api}/src/dtos/unit-types/unit-type.dto.ts (100%) rename {backend_new => api}/src/dtos/units/ami-chart-item.dto.ts (100%) rename {backend_new => api}/src/dtos/units/ami-chart-override-create.dto.ts (100%) rename {backend_new => api}/src/dtos/units/ami-chart-override.dto.ts (100%) rename {backend_new => api}/src/dtos/units/ami-chart.dto.ts (100%) rename {backend_new => api}/src/dtos/units/hmi.dto.ts (100%) rename {backend_new => api}/src/dtos/units/unit-create.dto.ts (100%) rename {backend_new => api}/src/dtos/units/unit-summarized.dto.ts (100%) rename {backend_new => api}/src/dtos/units/unit-summary-by-ami.dto.ts (100%) rename {backend_new => api}/src/dtos/units/unit-summary.dto.ts (100%) rename {backend_new => api}/src/dtos/units/unit.dto.ts (100%) rename {backend_new => api}/src/dtos/units/units-summary-create.dto.ts (100%) rename {backend_new => api}/src/dtos/units/units-summary.dto.ts (100%) rename {backend_new => api}/src/dtos/users/confirmation-request.dto.ts (100%) rename {backend_new => api}/src/dtos/users/email-and-app-url.dto.ts (100%) rename {backend_new => api}/src/dtos/users/paginated-user.dto.ts (100%) rename {backend_new => api}/src/dtos/users/user-create-params.dto.ts (100%) rename {backend_new => api}/src/dtos/users/user-create.dto.ts (100%) rename {backend_new => api}/src/dtos/users/user-filter-params.dto.ts (100%) rename {backend_new => api}/src/dtos/users/user-invite.dto.ts (100%) rename {backend_new => api}/src/dtos/users/user-query-param.dto.ts (100%) rename {backend_new => api}/src/dtos/users/user-role.dto.ts (100%) rename {backend_new => api}/src/dtos/users/user-update.dto.ts (100%) rename {backend_new => api}/src/dtos/users/user.dto.ts (100%) rename {backend_new => api}/src/enums/application-flagged-sets/view.ts (100%) rename {backend_new => api}/src/enums/applications/order-by-enum.ts (100%) rename {backend_new => api}/src/enums/applications/view-enum.ts (100%) rename {backend_new => api}/src/enums/listings/filter-key-enum.ts (100%) rename {backend_new => api}/src/enums/listings/order-by-enum.ts (100%) rename {backend_new => api}/src/enums/listings/review-order-enum.ts (100%) rename {backend_new => api}/src/enums/listings/view-enum.ts (100%) rename {backend_new => api}/src/enums/mfa/mfa-type-enum.ts (100%) rename {backend_new => api}/src/enums/multiselect-questions/filter-key-enum.ts (100%) rename {backend_new => api}/src/enums/multiselect-questions/validation-method-enum.ts (100%) rename {backend_new => api}/src/enums/permissions/http-method-to-actions-enum.ts (100%) rename {backend_new => api}/src/enums/permissions/permission-actions-enum.ts (100%) rename {backend_new => api}/src/enums/permissions/user-role-enum.ts (100%) rename {backend_new => api}/src/enums/shared/input-type-enum.ts (100%) rename {backend_new => api}/src/enums/shared/order-by-enum.ts (100%) rename {backend_new => api}/src/enums/shared/validation-groups-enum.ts (100%) rename {backend_new => api}/src/guards/admin-or-jurisdiction-admin.guard.ts (100%) rename {backend_new => api}/src/guards/jwt.guard.ts (100%) rename {backend_new => api}/src/guards/mfa.guard.ts (100%) rename {backend_new => api}/src/guards/optional.guard.ts (100%) rename {backend_new => api}/src/guards/permission.guard.ts (100%) rename {backend_new => api}/src/guards/user-profile-permission-guard.ts (100%) rename {backend_new => api}/src/interceptors/activity-log.interceptor.ts (100%) rename {backend_new => api}/src/main.ts (100%) rename {backend_new => api}/src/modules/ami-chart.module.ts (100%) rename {backend_new => api}/src/modules/app.module.ts (100%) rename {backend_new => api}/src/modules/application-flagged-set.module.ts (100%) rename {backend_new => api}/src/modules/application.module.ts (100%) rename {backend_new => api}/src/modules/asset.module.ts (100%) rename {backend_new => api}/src/modules/auth.module.ts (100%) rename {backend_new => api}/src/modules/email.module.ts (100%) rename {backend_new => api}/src/modules/jurisdiction.module.ts (100%) rename {backend_new => api}/src/modules/listing.module.ts (100%) rename {backend_new => api}/src/modules/map-layer.module.ts (100%) rename {backend_new => api}/src/modules/multiselect-question.module.ts (100%) rename {backend_new => api}/src/modules/permission.module.ts (100%) rename {backend_new => api}/src/modules/prisma.module.ts (100%) rename {backend_new => api}/src/modules/reserved-community-type.module.ts (100%) rename {backend_new => api}/src/modules/sms-module.ts (100%) rename {backend_new => api}/src/modules/unit-accessibility-priority-type.module.ts (100%) rename {backend_new => api}/src/modules/unit-rent-type.module.ts (100%) rename {backend_new => api}/src/modules/unit-type.module.ts (100%) rename {backend_new => api}/src/modules/user.module.ts (100%) rename {backend_new => api}/src/passports/jwt.strategy.ts (100%) rename {backend_new => api}/src/passports/mfa.strategy.ts (100%) rename {backend_new => api}/src/permission-configs/permission_model.conf (100%) rename {backend_new => api}/src/permission-configs/permission_policy.csv (100%) rename {backend_new => api}/src/services/ami-chart.service.ts (100%) rename {backend_new => api}/src/services/app.service.ts (100%) rename {backend_new => api}/src/services/application-csv-export.service.ts (100%) rename {backend_new => api}/src/services/application-flagged-set.service.ts (100%) rename {backend_new => api}/src/services/application.service.ts (100%) rename {backend_new => api}/src/services/asset.service.ts (100%) rename {backend_new => api}/src/services/auth.service.ts (100%) rename {backend_new => api}/src/services/email.service.ts (100%) rename {backend_new => api}/src/services/geocoding.service.ts (100%) rename {backend_new => api}/src/services/google-translate.service.ts (100%) rename {backend_new => api}/src/services/jurisdiction.service.ts (100%) rename {backend_new => api}/src/services/listing-csv-export.service.ts (100%) rename {backend_new => api}/src/services/listing.service.ts (100%) rename {backend_new => api}/src/services/map-layers.service.ts (100%) rename {backend_new => api}/src/services/multiselect-question.service.ts (100%) rename {backend_new => api}/src/services/permission.service.ts (100%) rename {backend_new => api}/src/services/prisma.service.ts (100%) rename {backend_new => api}/src/services/reserved-community-type.service.ts (100%) rename {backend_new => api}/src/services/sendgrid.service.ts (100%) rename {backend_new => api}/src/services/sms.service.ts (100%) rename {backend_new => api}/src/services/translation.service.ts (100%) rename {backend_new => api}/src/services/unit-accessibility-priority-type.service.ts (100%) rename {backend_new => api}/src/services/unit-rent-type.service.ts (100%) rename {backend_new => api}/src/services/unit-type.service.ts (100%) rename {backend_new => api}/src/services/user.service.ts (100%) rename {backend_new => api}/src/temp/.gitignore (100%) rename {backend_new => api}/src/types/CsvExportInterface.ts (100%) rename {backend_new => api}/src/utilities/applications-utilities.ts (100%) rename {backend_new => api}/src/utilities/build-filter.ts (100%) rename {backend_new => api}/src/utilities/build-order-by.ts (100%) rename {backend_new => api}/src/utilities/build-pagination-meta.ts (100%) rename {backend_new => api}/src/utilities/cron-job-starter.ts (100%) rename {backend_new => api}/src/utilities/csv-builder.ts (100%) rename {backend_new => api}/src/utilities/custom-exception-filter.ts (100%) rename {backend_new => api}/src/utilities/deep-find.ts (100%) rename {backend_new => api}/src/utilities/default-validation-pipe-options.ts (100%) rename {backend_new => api}/src/utilities/format-local-date.ts (100%) rename {backend_new => api}/src/utilities/is-empty.ts (100%) rename {backend_new => api}/src/utilities/listing-url-slug.ts (100%) rename {backend_new => api}/src/utilities/mapTo.ts (100%) rename {backend_new => api}/src/utilities/order-by-validator.ts (100%) rename {backend_new => api}/src/utilities/pagination-helpers.ts (100%) rename {backend_new => api}/src/utilities/password-helpers.ts (100%) rename {backend_new => api}/src/utilities/password-regex.ts (100%) rename {backend_new => api}/src/utilities/unit-utilities.ts (100%) rename {backend_new => api}/src/validation-pipes/listing-create-update-pipe.ts (100%) rename {backend_new => api}/src/views/change-email.hbs (100%) rename {backend_new => api}/src/views/changes-requested.hbs (100%) rename {backend_new => api}/src/views/confirmation.hbs (100%) rename {backend_new => api}/src/views/csv-export.hbs (100%) rename {backend_new => api}/src/views/forgot-password.hbs (100%) rename {backend_new => api}/src/views/invite.hbs (100%) rename {backend_new => api}/src/views/layouts/default.hbs (100%) rename {backend_new => api}/src/views/listing-approved.hbs (100%) rename {backend_new => api}/src/views/mfa-code.hbs (100%) rename {backend_new => api}/src/views/partials/feedback.hbs (100%) rename {backend_new => api}/src/views/partials/footer.hbs (100%) rename {backend_new => api}/src/views/partials/head.hbs (100%) rename {backend_new => api}/src/views/partials/header.hbs (100%) rename {backend_new => api}/src/views/partials/leasing-agent.hbs (100%) rename {backend_new => api}/src/views/partials/simple-footer.hbs (100%) rename {backend_new => api}/src/views/partials/user-name.hbs (100%) rename {backend_new => api}/src/views/portal-account-update.hbs (100%) rename {backend_new => api}/src/views/register-email.hbs (100%) rename {backend_new => api}/src/views/request-approval.hbs (100%) rename {backend_new => api}/test/integration/ami-chart.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/app.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/application-flagged-set.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/application.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/asset.e2e-spec.ts (97%) rename {backend_new => api}/test/integration/auth.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/jurisdiction.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/listing.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/multiselect-question.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/permission-tests/helpers.ts (100%) rename {backend_new => api}/test/integration/permission-tests/permission-as-admin.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/permission-tests/permission-as-juris-admin-correct-juris.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/permission-tests/permission-as-juris-admin-wrong-juris.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/permission-tests/permission-as-no-user.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/permission-tests/permission-as-partner-correct-listing.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/permission-tests/permission-as-partner-wrong-listing.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/permission-tests/permission-as-public.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/reserved-community-type.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/unit-accessibility-priority-type.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/unit-rent-type.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/unit-type.e2e-spec.ts (100%) rename {backend_new => api}/test/integration/user.e2e-spec.ts (100%) rename {backend_new => api}/test/jest-e2e.config.js (100%) rename {backend_new => api}/test/jest-with-coverage.config.js (100%) rename {backend_new => api}/test/jest.config.js (100%) rename {backend_new => api}/test/unit/passports/jwt.strategy.spec.ts (100%) rename {backend_new => api}/test/unit/passports/mfa.strategy.spec.ts (100%) rename {backend_new => api}/test/unit/services/ami-chart.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/app.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/application-csv-export.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/application-flagged-set.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/application.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/asset.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/auth.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/email.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/geocoding.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/jurisdiction.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/listing.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/multiselect-question.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/permission.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/reserved-community-type.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/translation.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/unit-accessibility-priority-type.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/unit-rent-type.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/unit-type.service.spec.ts (100%) rename {backend_new => api}/test/unit/services/user.service.spec.ts (100%) rename {backend_new => api}/test/unit/utilities/build-filter.spec.ts (100%) rename {backend_new => api}/test/unit/utilities/build-order-by.spec.ts (100%) rename {backend_new => api}/test/unit/utilities/csv-builder.spec.ts (100%) rename {backend_new => api}/test/unit/utilities/deep-find.spec.ts (100%) rename {backend_new => api}/test/unit/utilities/listing-url-slug.spec.ts (100%) rename {backend_new => api}/test/unit/utilities/order-by-validator.spec.ts (100%) rename {backend_new => api}/test/unit/utilities/pagination-helpers.spec.ts (100%) rename {backend_new => api}/test/unit/utilities/password-helper.spec.ts (100%) rename {backend_new => api}/test/unit/utilities/password-regex.spec.ts (100%) rename {backend_new => api}/test/unit/utilities/unit-utilities.spec.ts (100%) rename {backend_new => api}/tsconfig.build.json (100%) rename {backend_new => api}/tsconfig.json (100%) rename {backend_new => api}/yarn.lock (100%) delete mode 100644 backend_new/src/temp/.gitkeep diff --git a/.circleci/config.yml b/.circleci/config.yml index dfa6a9ac18..2f50cba523 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -66,7 +66,7 @@ jobs: pkg-manager: yarn cache-version: build-cache-{{ .Environment.CIRCLE_SHA1 }} - node/install-packages: - app-dir: backend_new + app-dir: api pkg-manager: yarn cache-version: build-cache-{{ .Environment.CIRCLE_SHA1 }} - run: @@ -76,7 +76,7 @@ jobs: name: run backend command: yarn dev background: true - working_directory: backend_new + working_directory: api - run: name: build and run public command: yarn dev:server-wait-new && yarn build && yarn start @@ -106,7 +106,7 @@ jobs: pkg-manager: yarn cache-version: build-cache-{{ .Environment.CIRCLE_SHA1 }} - node/install-packages: - app-dir: backend_new + app-dir: api pkg-manager: yarn cache-version: build-cache-{{ .Environment.CIRCLE_SHA1 }} - run: @@ -116,7 +116,7 @@ jobs: name: run backend command: yarn dev background: true - working_directory: backend_new + working_directory: api - run: name: build and run partners command: yarn dev:server-wait-new && yarn build && yarn start @@ -178,7 +178,7 @@ jobs: key: build-cache-new-{{ .Environment.CIRCLE_SHA1 }} - run: name: DB Setup + New Backend Core Tests - working_directory: backend_new + working_directory: api command: | yarn install yarn test:cov-ci diff --git a/.eslintrc.js b/.eslintrc.js index dd5e61a4f0..16d23dbcdd 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -50,7 +50,7 @@ module.exports = { "storybook-static", ".next", "dist", - "backend_new", + "api", "migration/", "**/*.stories.tsx", "**/.eslintrc.js", diff --git a/README.md b/README.md index 91eec4df37..33b89f221e 100644 --- a/README.md +++ b/README.md @@ -12,29 +12,29 @@ The backend can be simultaenously deployed to PaaS-style hosts such as Heroku. I ### Structure -Bloom uses a monorepo-style repository containing multiple user-facing applications and backend services. The three main high-level packages are `backend/core`, `sites`, and `shared-helpers`. Additionally, Bloom's UI leverages the in-house npm package `@bloom-housing/ui-components`. +Bloom uses a monorepo-style repository containing multiple user-facing applications and backend services. The three main high-level packages are `api`, `sites`, and `shared-helpers`. Additionally, Bloom's UI leverages the in-house npm package `@bloom-housing/ui-components`. The `sites` package contains reference implementations for the two user-facing applications in the system: --- - `sites/public` is the applicant-facing site available to the general public. It provides the ability to browse available listings and to apply for listings either using the Common Application (which we build and maintain) or an external link to a third-party online or paper application. -- Visit [sites/public/README](https://github.com/bloom-housing/bloom/blob/dev/sites/public/README.md) for more details. +- Visit [sites/public/README](https://github.com/bloom-housing/bloom/blob/main/sites/public/README.md) for more details. - `sites/partners` is the site designed for housing developers, property managers, and city/county (jurisdiction) employees. For application management, it offers the ability to view, edit, and export applications for listings and other administrative tasks. For listing management, it offers the ability to create, edit, and publish listings. A login is required to use the Partners Portal. -- Visit [sites/partners/README](https://github.com/bloom-housing/bloom/blob/dev/sites/partners/README.md) for more details. +- Visit [sites/partners/README](https://github.com/bloom-housing/bloom/blob/main/sites/partners/README.md) for more details. In some cases the sites diverge slightly to accomodate jurisdictional customizations. The [housingbayarea Bloom fork](https://github.com/housingbayarea/bloom) is a fork of Bloom core for Bay Area jurisdictions which is loosely customized for that location. In this fork, our jurisdictions are each a separate branch. --- -- `backend/core` is the container for the key backend services (e.g. listings, applications, users). Information is stored in a Postgres database and served over HTTPS to the front-end (either at build time for things that can be server-rendered, or at run time). Most services are part of a NestJS application which allows for consolidated operation in one runtime environment. Services expose a REST API, and aren't expected to have any UI other than for debugging. -- Visit [backend/core/README](https://github.com/bloom-housing/bloom/blob/dev/backend/core/README.md) for more details. +- `api` is the container for the key backend services (e.g. listings, applications, users). Information is stored in a Postgres database and served over HTTPS to the front-end (either at build time for things that can be server-rendered, or at run time). Most services are part of a NestJS application which allows for consolidated operation in one runtime environment. Services expose a REST API, and aren't expected to have any UI other than for debugging. +- Visit [api/README](https://github.com/bloom-housing/bloom/blob/main/api/README.md) for more details. --- - `shared-helpers` contains types and functions intended for shared use between the public and partners sites. -- Visit [shared-helpers/README](https://github.com/bloom-housing/bloom/blob/dev/shared-helpers/README.md) for more details. +- Visit [shared-helpers/README](https://github.com/bloom-housing/bloom/blob/main/shared-helpers/README.md) for more details. --- @@ -42,7 +42,7 @@ In some cases the sites diverge slightly to accomodate jurisdictional customizat ## Getting Started for Developers -If this is your first time working with Bloom, please be sure to check out the `sites/public`, `sites/partners` and `backend/core` README files for important configuration information specific to those pieces. +If this is your first time working with Bloom, please be sure to check out the `sites/public`, `sites/partners` and `api` README files for important configuration information specific to those pieces. ## General Local Setup @@ -66,7 +66,13 @@ This runs 3 processes for both apps and the backend services on 3 different port - 3000 for the public app - 3001 for the partners app -- 3100 for backend/core +- 3100 for api + +There is a chance that this won't work on your machine. If that is the case you can run each individually on separate terminals with the following command in each directory. + +``` +yarn dev +``` ### Bloom's UI-Component Development - Because Bloom's ui-components package is a separate open source repository, developing within both repos locally requires linking the folders with the following steps: @@ -103,11 +109,7 @@ On commit, two steps automatically run: (1) linting and (2) a verification of th In addition to commits needing to be formatted as conventional commits, if you are making different levels of version change across multiple packages, your commits must also be separated by package in order to avoid improperly versioning a package. -On every merge to dev, our Netlify `development` environment is updated and a pre-release of the ui-components package is automatically published to npm. - -On every merge to master (roughly bi-weekly), a release of the backend/core and ui-components packages are automatically published to npm and our Netlify `staging` environment is updated. - -Once staging has been QAed, we manually update `production`. +On every merge to `main`, our Netlify and Heroku environment automatically deploys. ### Pull Requests diff --git a/backend_new/.env.template b/api/.env.template similarity index 100% rename from backend_new/.env.template rename to api/.env.template diff --git a/backend_new/.eslintrc.js b/api/.eslintrc.js similarity index 100% rename from backend_new/.eslintrc.js rename to api/.eslintrc.js diff --git a/backend_new/.gitignore b/api/.gitignore similarity index 100% rename from backend_new/.gitignore rename to api/.gitignore diff --git a/backend_new/.prettierrc b/api/.prettierrc similarity index 100% rename from backend_new/.prettierrc rename to api/.prettierrc diff --git a/backend_new/Procfile b/api/Procfile similarity index 100% rename from backend_new/Procfile rename to api/Procfile diff --git a/backend_new/README.md b/api/README.md similarity index 100% rename from backend_new/README.md rename to api/README.md diff --git a/backend_new/nest-cli.json b/api/nest-cli.json similarity index 100% rename from backend_new/nest-cli.json rename to api/nest-cli.json diff --git a/backend_new/package.json b/api/package.json similarity index 100% rename from backend_new/package.json rename to api/package.json diff --git a/backend_new/prisma/constants.ts b/api/prisma/constants.ts similarity index 100% rename from backend_new/prisma/constants.ts rename to api/prisma/constants.ts diff --git a/backend_new/prisma/migrations/00_init/migration.sql b/api/prisma/migrations/00_init/migration.sql similarity index 100% rename from backend_new/prisma/migrations/00_init/migration.sql rename to api/prisma/migrations/00_init/migration.sql diff --git a/backend_new/prisma/migrations/01_change_to_prisma/migration.sql b/api/prisma/migrations/01_change_to_prisma/migration.sql similarity index 100% rename from backend_new/prisma/migrations/01_change_to_prisma/migration.sql rename to api/prisma/migrations/01_change_to_prisma/migration.sql diff --git a/backend_new/prisma/migrations/02_hba_to_prisma/migration.sql b/api/prisma/migrations/02_hba_to_prisma/migration.sql similarity index 100% rename from backend_new/prisma/migrations/02_hba_to_prisma/migration.sql rename to api/prisma/migrations/02_hba_to_prisma/migration.sql diff --git a/backend_new/prisma/migrations/migration_lock.toml b/api/prisma/migrations/migration_lock.toml similarity index 100% rename from backend_new/prisma/migrations/migration_lock.toml rename to api/prisma/migrations/migration_lock.toml diff --git a/backend_new/prisma/schema.prisma b/api/prisma/schema.prisma similarity index 100% rename from backend_new/prisma/schema.prisma rename to api/prisma/schema.prisma diff --git a/backend_new/prisma/seed-dev.ts b/api/prisma/seed-dev.ts similarity index 100% rename from backend_new/prisma/seed-dev.ts rename to api/prisma/seed-dev.ts diff --git a/backend_new/prisma/seed-helpers/address-factory.ts b/api/prisma/seed-helpers/address-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/address-factory.ts rename to api/prisma/seed-helpers/address-factory.ts diff --git a/backend_new/prisma/seed-helpers/ami-chart-factory.ts b/api/prisma/seed-helpers/ami-chart-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/ami-chart-factory.ts rename to api/prisma/seed-helpers/ami-chart-factory.ts diff --git a/backend_new/prisma/seed-helpers/application-factory.ts b/api/prisma/seed-helpers/application-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/application-factory.ts rename to api/prisma/seed-helpers/application-factory.ts diff --git a/backend_new/prisma/seed-helpers/application-preference-factory.ts b/api/prisma/seed-helpers/application-preference-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/application-preference-factory.ts rename to api/prisma/seed-helpers/application-preference-factory.ts diff --git a/backend_new/prisma/seed-helpers/boolean-generator.ts b/api/prisma/seed-helpers/boolean-generator.ts similarity index 100% rename from backend_new/prisma/seed-helpers/boolean-generator.ts rename to api/prisma/seed-helpers/boolean-generator.ts diff --git a/backend_new/prisma/seed-helpers/demographic-factory.ts b/api/prisma/seed-helpers/demographic-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/demographic-factory.ts rename to api/prisma/seed-helpers/demographic-factory.ts diff --git a/backend_new/prisma/seed-helpers/household-member-factory.ts b/api/prisma/seed-helpers/household-member-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/household-member-factory.ts rename to api/prisma/seed-helpers/household-member-factory.ts diff --git a/backend_new/prisma/seed-helpers/jurisdiction-factory.ts b/api/prisma/seed-helpers/jurisdiction-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/jurisdiction-factory.ts rename to api/prisma/seed-helpers/jurisdiction-factory.ts diff --git a/backend_new/prisma/seed-helpers/listing-factory.ts b/api/prisma/seed-helpers/listing-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/listing-factory.ts rename to api/prisma/seed-helpers/listing-factory.ts diff --git a/backend_new/prisma/seed-helpers/map-layer-factory.ts b/api/prisma/seed-helpers/map-layer-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/map-layer-factory.ts rename to api/prisma/seed-helpers/map-layer-factory.ts diff --git a/backend_new/prisma/seed-helpers/multiselect-question-factory.ts b/api/prisma/seed-helpers/multiselect-question-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/multiselect-question-factory.ts rename to api/prisma/seed-helpers/multiselect-question-factory.ts diff --git a/backend_new/prisma/seed-helpers/number-generator.ts b/api/prisma/seed-helpers/number-generator.ts similarity index 100% rename from backend_new/prisma/seed-helpers/number-generator.ts rename to api/prisma/seed-helpers/number-generator.ts diff --git a/backend_new/prisma/seed-helpers/reserved-community-type-factory.ts b/api/prisma/seed-helpers/reserved-community-type-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/reserved-community-type-factory.ts rename to api/prisma/seed-helpers/reserved-community-type-factory.ts diff --git a/backend_new/prisma/seed-helpers/translation-factory.ts b/api/prisma/seed-helpers/translation-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/translation-factory.ts rename to api/prisma/seed-helpers/translation-factory.ts diff --git a/backend_new/prisma/seed-helpers/unit-accessibility-priority-type-factory.ts b/api/prisma/seed-helpers/unit-accessibility-priority-type-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/unit-accessibility-priority-type-factory.ts rename to api/prisma/seed-helpers/unit-accessibility-priority-type-factory.ts diff --git a/backend_new/prisma/seed-helpers/unit-factory.ts b/api/prisma/seed-helpers/unit-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/unit-factory.ts rename to api/prisma/seed-helpers/unit-factory.ts diff --git a/backend_new/prisma/seed-helpers/unit-rent-type-factory.ts b/api/prisma/seed-helpers/unit-rent-type-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/unit-rent-type-factory.ts rename to api/prisma/seed-helpers/unit-rent-type-factory.ts diff --git a/backend_new/prisma/seed-helpers/unit-type-factory.ts b/api/prisma/seed-helpers/unit-type-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/unit-type-factory.ts rename to api/prisma/seed-helpers/unit-type-factory.ts diff --git a/backend_new/prisma/seed-helpers/user-factory.ts b/api/prisma/seed-helpers/user-factory.ts similarity index 100% rename from backend_new/prisma/seed-helpers/user-factory.ts rename to api/prisma/seed-helpers/user-factory.ts diff --git a/backend_new/prisma/seed-helpers/word-generator.ts b/api/prisma/seed-helpers/word-generator.ts similarity index 100% rename from backend_new/prisma/seed-helpers/word-generator.ts rename to api/prisma/seed-helpers/word-generator.ts diff --git a/backend_new/prisma/seed-staging.ts b/api/prisma/seed-staging.ts similarity index 100% rename from backend_new/prisma/seed-staging.ts rename to api/prisma/seed-staging.ts diff --git a/backend_new/prisma/seed.ts b/api/prisma/seed.ts similarity index 100% rename from backend_new/prisma/seed.ts rename to api/prisma/seed.ts diff --git a/backend_new/scripts/generate-axios-client.ts b/api/scripts/generate-axios-client.ts similarity index 100% rename from backend_new/scripts/generate-axios-client.ts rename to api/scripts/generate-axios-client.ts diff --git a/backend_new/src/controllers/ami-chart.controller.ts b/api/src/controllers/ami-chart.controller.ts similarity index 100% rename from backend_new/src/controllers/ami-chart.controller.ts rename to api/src/controllers/ami-chart.controller.ts diff --git a/backend_new/src/controllers/app.controller.ts b/api/src/controllers/app.controller.ts similarity index 100% rename from backend_new/src/controllers/app.controller.ts rename to api/src/controllers/app.controller.ts diff --git a/backend_new/src/controllers/application-flagged-set.controller.ts b/api/src/controllers/application-flagged-set.controller.ts similarity index 100% rename from backend_new/src/controllers/application-flagged-set.controller.ts rename to api/src/controllers/application-flagged-set.controller.ts diff --git a/backend_new/src/controllers/application.controller.ts b/api/src/controllers/application.controller.ts similarity index 100% rename from backend_new/src/controllers/application.controller.ts rename to api/src/controllers/application.controller.ts diff --git a/backend_new/src/controllers/asset.controller.ts b/api/src/controllers/asset.controller.ts similarity index 100% rename from backend_new/src/controllers/asset.controller.ts rename to api/src/controllers/asset.controller.ts diff --git a/backend_new/src/controllers/auth.controller.ts b/api/src/controllers/auth.controller.ts similarity index 100% rename from backend_new/src/controllers/auth.controller.ts rename to api/src/controllers/auth.controller.ts diff --git a/backend_new/src/controllers/jurisdiction.controller.ts b/api/src/controllers/jurisdiction.controller.ts similarity index 100% rename from backend_new/src/controllers/jurisdiction.controller.ts rename to api/src/controllers/jurisdiction.controller.ts diff --git a/backend_new/src/controllers/listing.controller.ts b/api/src/controllers/listing.controller.ts similarity index 100% rename from backend_new/src/controllers/listing.controller.ts rename to api/src/controllers/listing.controller.ts diff --git a/backend_new/src/controllers/map-layer.controller.ts b/api/src/controllers/map-layer.controller.ts similarity index 100% rename from backend_new/src/controllers/map-layer.controller.ts rename to api/src/controllers/map-layer.controller.ts diff --git a/backend_new/src/controllers/multiselect-question.controller.ts b/api/src/controllers/multiselect-question.controller.ts similarity index 100% rename from backend_new/src/controllers/multiselect-question.controller.ts rename to api/src/controllers/multiselect-question.controller.ts diff --git a/backend_new/src/controllers/reserved-community-type.controller.ts b/api/src/controllers/reserved-community-type.controller.ts similarity index 100% rename from backend_new/src/controllers/reserved-community-type.controller.ts rename to api/src/controllers/reserved-community-type.controller.ts diff --git a/backend_new/src/controllers/unit-accessibility-priority-type.controller.ts b/api/src/controllers/unit-accessibility-priority-type.controller.ts similarity index 100% rename from backend_new/src/controllers/unit-accessibility-priority-type.controller.ts rename to api/src/controllers/unit-accessibility-priority-type.controller.ts diff --git a/backend_new/src/controllers/unit-rent-type.controller.ts b/api/src/controllers/unit-rent-type.controller.ts similarity index 100% rename from backend_new/src/controllers/unit-rent-type.controller.ts rename to api/src/controllers/unit-rent-type.controller.ts diff --git a/backend_new/src/controllers/unit-type.controller.ts b/api/src/controllers/unit-type.controller.ts similarity index 100% rename from backend_new/src/controllers/unit-type.controller.ts rename to api/src/controllers/unit-type.controller.ts diff --git a/backend_new/src/controllers/user.controller.ts b/api/src/controllers/user.controller.ts similarity index 100% rename from backend_new/src/controllers/user.controller.ts rename to api/src/controllers/user.controller.ts diff --git a/backend_new/src/decorators/activity-log-metadata.decorator.ts b/api/src/decorators/activity-log-metadata.decorator.ts similarity index 100% rename from backend_new/src/decorators/activity-log-metadata.decorator.ts rename to api/src/decorators/activity-log-metadata.decorator.ts diff --git a/backend_new/src/decorators/enforce-lower-case.decorator.ts b/api/src/decorators/enforce-lower-case.decorator.ts similarity index 100% rename from backend_new/src/decorators/enforce-lower-case.decorator.ts rename to api/src/decorators/enforce-lower-case.decorator.ts diff --git a/backend_new/src/decorators/match-decorator.ts b/api/src/decorators/match-decorator.ts similarity index 100% rename from backend_new/src/decorators/match-decorator.ts rename to api/src/decorators/match-decorator.ts diff --git a/backend_new/src/decorators/permission-action.decorator.ts b/api/src/decorators/permission-action.decorator.ts similarity index 100% rename from backend_new/src/decorators/permission-action.decorator.ts rename to api/src/decorators/permission-action.decorator.ts diff --git a/backend_new/src/decorators/permission-type.decorator.ts b/api/src/decorators/permission-type.decorator.ts similarity index 100% rename from backend_new/src/decorators/permission-type.decorator.ts rename to api/src/decorators/permission-type.decorator.ts diff --git a/backend_new/src/decorators/search-string-length-check.decorator.ts b/api/src/decorators/search-string-length-check.decorator.ts similarity index 100% rename from backend_new/src/decorators/search-string-length-check.decorator.ts rename to api/src/decorators/search-string-length-check.decorator.ts diff --git a/backend_new/src/dtos/addresses/address-create.dto.ts b/api/src/dtos/addresses/address-create.dto.ts similarity index 100% rename from backend_new/src/dtos/addresses/address-create.dto.ts rename to api/src/dtos/addresses/address-create.dto.ts diff --git a/backend_new/src/dtos/addresses/address.dto.ts b/api/src/dtos/addresses/address.dto.ts similarity index 100% rename from backend_new/src/dtos/addresses/address.dto.ts rename to api/src/dtos/addresses/address.dto.ts diff --git a/backend_new/src/dtos/ami-charts/ami-chart-create.dto.ts b/api/src/dtos/ami-charts/ami-chart-create.dto.ts similarity index 100% rename from backend_new/src/dtos/ami-charts/ami-chart-create.dto.ts rename to api/src/dtos/ami-charts/ami-chart-create.dto.ts diff --git a/backend_new/src/dtos/ami-charts/ami-chart-query-params.dto.ts b/api/src/dtos/ami-charts/ami-chart-query-params.dto.ts similarity index 100% rename from backend_new/src/dtos/ami-charts/ami-chart-query-params.dto.ts rename to api/src/dtos/ami-charts/ami-chart-query-params.dto.ts diff --git a/backend_new/src/dtos/ami-charts/ami-chart-update.dto.ts b/api/src/dtos/ami-charts/ami-chart-update.dto.ts similarity index 100% rename from backend_new/src/dtos/ami-charts/ami-chart-update.dto.ts rename to api/src/dtos/ami-charts/ami-chart-update.dto.ts diff --git a/backend_new/src/dtos/ami-charts/ami-chart.dto.ts b/api/src/dtos/ami-charts/ami-chart.dto.ts similarity index 100% rename from backend_new/src/dtos/ami-charts/ami-chart.dto.ts rename to api/src/dtos/ami-charts/ami-chart.dto.ts diff --git a/backend_new/src/dtos/application-flagged-sets/afs-meta.dto.ts b/api/src/dtos/application-flagged-sets/afs-meta.dto.ts similarity index 100% rename from backend_new/src/dtos/application-flagged-sets/afs-meta.dto.ts rename to api/src/dtos/application-flagged-sets/afs-meta.dto.ts diff --git a/backend_new/src/dtos/application-flagged-sets/afs-pagination-meta.dto.ts b/api/src/dtos/application-flagged-sets/afs-pagination-meta.dto.ts similarity index 100% rename from backend_new/src/dtos/application-flagged-sets/afs-pagination-meta.dto.ts rename to api/src/dtos/application-flagged-sets/afs-pagination-meta.dto.ts diff --git a/backend_new/src/dtos/application-flagged-sets/afs-query-params.dto.ts b/api/src/dtos/application-flagged-sets/afs-query-params.dto.ts similarity index 100% rename from backend_new/src/dtos/application-flagged-sets/afs-query-params.dto.ts rename to api/src/dtos/application-flagged-sets/afs-query-params.dto.ts diff --git a/backend_new/src/dtos/application-flagged-sets/afs-resolve.dto.ts b/api/src/dtos/application-flagged-sets/afs-resolve.dto.ts similarity index 100% rename from backend_new/src/dtos/application-flagged-sets/afs-resolve.dto.ts rename to api/src/dtos/application-flagged-sets/afs-resolve.dto.ts diff --git a/backend_new/src/dtos/application-flagged-sets/application-flagged-set.dto.ts b/api/src/dtos/application-flagged-sets/application-flagged-set.dto.ts similarity index 100% rename from backend_new/src/dtos/application-flagged-sets/application-flagged-set.dto.ts rename to api/src/dtos/application-flagged-sets/application-flagged-set.dto.ts diff --git a/backend_new/src/dtos/application-flagged-sets/paginated-afs.dto.ts b/api/src/dtos/application-flagged-sets/paginated-afs.dto.ts similarity index 100% rename from backend_new/src/dtos/application-flagged-sets/paginated-afs.dto.ts rename to api/src/dtos/application-flagged-sets/paginated-afs.dto.ts diff --git a/backend_new/src/dtos/application-methods/application-method-create.dto.ts b/api/src/dtos/application-methods/application-method-create.dto.ts similarity index 100% rename from backend_new/src/dtos/application-methods/application-method-create.dto.ts rename to api/src/dtos/application-methods/application-method-create.dto.ts diff --git a/backend_new/src/dtos/application-methods/application-method.dto.ts b/api/src/dtos/application-methods/application-method.dto.ts similarity index 100% rename from backend_new/src/dtos/application-methods/application-method.dto.ts rename to api/src/dtos/application-methods/application-method.dto.ts diff --git a/backend_new/src/dtos/applications/accessibility-update.dto.ts b/api/src/dtos/applications/accessibility-update.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/accessibility-update.dto.ts rename to api/src/dtos/applications/accessibility-update.dto.ts diff --git a/backend_new/src/dtos/applications/accessibility.dto.ts b/api/src/dtos/applications/accessibility.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/accessibility.dto.ts rename to api/src/dtos/applications/accessibility.dto.ts diff --git a/backend_new/src/dtos/applications/alternate-contact-update.dto.ts b/api/src/dtos/applications/alternate-contact-update.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/alternate-contact-update.dto.ts rename to api/src/dtos/applications/alternate-contact-update.dto.ts diff --git a/backend_new/src/dtos/applications/alternate-contact.dto.ts b/api/src/dtos/applications/alternate-contact.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/alternate-contact.dto.ts rename to api/src/dtos/applications/alternate-contact.dto.ts diff --git a/backend_new/src/dtos/applications/applicant-update.dto.ts b/api/src/dtos/applications/applicant-update.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/applicant-update.dto.ts rename to api/src/dtos/applications/applicant-update.dto.ts diff --git a/backend_new/src/dtos/applications/applicant.dto.ts b/api/src/dtos/applications/applicant.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/applicant.dto.ts rename to api/src/dtos/applications/applicant.dto.ts diff --git a/backend_new/src/dtos/applications/application-create.dto.ts b/api/src/dtos/applications/application-create.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/application-create.dto.ts rename to api/src/dtos/applications/application-create.dto.ts diff --git a/backend_new/src/dtos/applications/application-csv-query-params.dto.ts b/api/src/dtos/applications/application-csv-query-params.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/application-csv-query-params.dto.ts rename to api/src/dtos/applications/application-csv-query-params.dto.ts diff --git a/backend_new/src/dtos/applications/application-multiselect-question-option.dto.ts b/api/src/dtos/applications/application-multiselect-question-option.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/application-multiselect-question-option.dto.ts rename to api/src/dtos/applications/application-multiselect-question-option.dto.ts diff --git a/backend_new/src/dtos/applications/application-multiselect-question.dto.ts b/api/src/dtos/applications/application-multiselect-question.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/application-multiselect-question.dto.ts rename to api/src/dtos/applications/application-multiselect-question.dto.ts diff --git a/backend_new/src/dtos/applications/application-query-params.dto.ts b/api/src/dtos/applications/application-query-params.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/application-query-params.dto.ts rename to api/src/dtos/applications/application-query-params.dto.ts diff --git a/backend_new/src/dtos/applications/application-update.dto.ts b/api/src/dtos/applications/application-update.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/application-update.dto.ts rename to api/src/dtos/applications/application-update.dto.ts diff --git a/backend_new/src/dtos/applications/application.dto.ts b/api/src/dtos/applications/application.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/application.dto.ts rename to api/src/dtos/applications/application.dto.ts diff --git a/backend_new/src/dtos/applications/demographic-update.dto.ts b/api/src/dtos/applications/demographic-update.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/demographic-update.dto.ts rename to api/src/dtos/applications/demographic-update.dto.ts diff --git a/backend_new/src/dtos/applications/demographic.dto.ts b/api/src/dtos/applications/demographic.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/demographic.dto.ts rename to api/src/dtos/applications/demographic.dto.ts diff --git a/backend_new/src/dtos/applications/household-member-update.dto.ts b/api/src/dtos/applications/household-member-update.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/household-member-update.dto.ts rename to api/src/dtos/applications/household-member-update.dto.ts diff --git a/backend_new/src/dtos/applications/household-member.dto.ts b/api/src/dtos/applications/household-member.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/household-member.dto.ts rename to api/src/dtos/applications/household-member.dto.ts diff --git a/backend_new/src/dtos/applications/paginated-application.dto.ts b/api/src/dtos/applications/paginated-application.dto.ts similarity index 100% rename from backend_new/src/dtos/applications/paginated-application.dto.ts rename to api/src/dtos/applications/paginated-application.dto.ts diff --git a/backend_new/src/dtos/assets/asset-create.dto.ts b/api/src/dtos/assets/asset-create.dto.ts similarity index 100% rename from backend_new/src/dtos/assets/asset-create.dto.ts rename to api/src/dtos/assets/asset-create.dto.ts diff --git a/backend_new/src/dtos/assets/asset.dto.ts b/api/src/dtos/assets/asset.dto.ts similarity index 100% rename from backend_new/src/dtos/assets/asset.dto.ts rename to api/src/dtos/assets/asset.dto.ts diff --git a/backend_new/src/dtos/assets/create-presign-upload-meta-response.dto.ts b/api/src/dtos/assets/create-presign-upload-meta-response.dto.ts similarity index 100% rename from backend_new/src/dtos/assets/create-presign-upload-meta-response.dto.ts rename to api/src/dtos/assets/create-presign-upload-meta-response.dto.ts diff --git a/backend_new/src/dtos/assets/create-presigned-upload-meta.dto.ts b/api/src/dtos/assets/create-presigned-upload-meta.dto.ts similarity index 100% rename from backend_new/src/dtos/assets/create-presigned-upload-meta.dto.ts rename to api/src/dtos/assets/create-presigned-upload-meta.dto.ts diff --git a/backend_new/src/dtos/auth/confirm.dto.ts b/api/src/dtos/auth/confirm.dto.ts similarity index 100% rename from backend_new/src/dtos/auth/confirm.dto.ts rename to api/src/dtos/auth/confirm.dto.ts diff --git a/backend_new/src/dtos/auth/login.dto.ts b/api/src/dtos/auth/login.dto.ts similarity index 100% rename from backend_new/src/dtos/auth/login.dto.ts rename to api/src/dtos/auth/login.dto.ts diff --git a/backend_new/src/dtos/auth/update-password.dto.ts b/api/src/dtos/auth/update-password.dto.ts similarity index 100% rename from backend_new/src/dtos/auth/update-password.dto.ts rename to api/src/dtos/auth/update-password.dto.ts diff --git a/backend_new/src/dtos/jurisdictions/jurisdiction-create.dto.ts b/api/src/dtos/jurisdictions/jurisdiction-create.dto.ts similarity index 100% rename from backend_new/src/dtos/jurisdictions/jurisdiction-create.dto.ts rename to api/src/dtos/jurisdictions/jurisdiction-create.dto.ts diff --git a/backend_new/src/dtos/jurisdictions/jurisdiction-update.dto.ts b/api/src/dtos/jurisdictions/jurisdiction-update.dto.ts similarity index 100% rename from backend_new/src/dtos/jurisdictions/jurisdiction-update.dto.ts rename to api/src/dtos/jurisdictions/jurisdiction-update.dto.ts diff --git a/backend_new/src/dtos/jurisdictions/jurisdiction.dto.ts b/api/src/dtos/jurisdictions/jurisdiction.dto.ts similarity index 100% rename from backend_new/src/dtos/jurisdictions/jurisdiction.dto.ts rename to api/src/dtos/jurisdictions/jurisdiction.dto.ts diff --git a/backend_new/src/dtos/listings/listing-create.dto.ts b/api/src/dtos/listings/listing-create.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listing-create.dto.ts rename to api/src/dtos/listings/listing-create.dto.ts diff --git a/backend_new/src/dtos/listings/listing-csv-query-params.dto.ts b/api/src/dtos/listings/listing-csv-query-params.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listing-csv-query-params.dto.ts rename to api/src/dtos/listings/listing-csv-query-params.dto.ts diff --git a/backend_new/src/dtos/listings/listing-event-create.dto.ts b/api/src/dtos/listings/listing-event-create.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listing-event-create.dto.ts rename to api/src/dtos/listings/listing-event-create.dto.ts diff --git a/backend_new/src/dtos/listings/listing-event.dto.ts b/api/src/dtos/listings/listing-event.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listing-event.dto.ts rename to api/src/dtos/listings/listing-event.dto.ts diff --git a/backend_new/src/dtos/listings/listing-feature.dto.ts b/api/src/dtos/listings/listing-feature.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listing-feature.dto.ts rename to api/src/dtos/listings/listing-feature.dto.ts diff --git a/backend_new/src/dtos/listings/listing-image-create.dto.ts b/api/src/dtos/listings/listing-image-create.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listing-image-create.dto.ts rename to api/src/dtos/listings/listing-image-create.dto.ts diff --git a/backend_new/src/dtos/listings/listing-image.dto.ts b/api/src/dtos/listings/listing-image.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listing-image.dto.ts rename to api/src/dtos/listings/listing-image.dto.ts diff --git a/backend_new/src/dtos/listings/listing-multiselect-question.dto.ts b/api/src/dtos/listings/listing-multiselect-question.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listing-multiselect-question.dto.ts rename to api/src/dtos/listings/listing-multiselect-question.dto.ts diff --git a/backend_new/src/dtos/listings/listing-published-create.dto.ts b/api/src/dtos/listings/listing-published-create.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listing-published-create.dto.ts rename to api/src/dtos/listings/listing-published-create.dto.ts diff --git a/backend_new/src/dtos/listings/listing-published-update.dto.ts b/api/src/dtos/listings/listing-published-update.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listing-published-update.dto.ts rename to api/src/dtos/listings/listing-published-update.dto.ts diff --git a/backend_new/src/dtos/listings/listing-update.dto.ts b/api/src/dtos/listings/listing-update.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listing-update.dto.ts rename to api/src/dtos/listings/listing-update.dto.ts diff --git a/backend_new/src/dtos/listings/listing-utility.dto.ts b/api/src/dtos/listings/listing-utility.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listing-utility.dto.ts rename to api/src/dtos/listings/listing-utility.dto.ts diff --git a/backend_new/src/dtos/listings/listing.dto.ts b/api/src/dtos/listings/listing.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listing.dto.ts rename to api/src/dtos/listings/listing.dto.ts diff --git a/backend_new/src/dtos/listings/listings-filter-params.dto.ts b/api/src/dtos/listings/listings-filter-params.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listings-filter-params.dto.ts rename to api/src/dtos/listings/listings-filter-params.dto.ts diff --git a/backend_new/src/dtos/listings/listings-query-params.dto.ts b/api/src/dtos/listings/listings-query-params.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listings-query-params.dto.ts rename to api/src/dtos/listings/listings-query-params.dto.ts diff --git a/backend_new/src/dtos/listings/listings-retrieve-params.dto.ts b/api/src/dtos/listings/listings-retrieve-params.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/listings-retrieve-params.dto.ts rename to api/src/dtos/listings/listings-retrieve-params.dto.ts diff --git a/backend_new/src/dtos/listings/paginated-listing.dto.ts b/api/src/dtos/listings/paginated-listing.dto.ts similarity index 100% rename from backend_new/src/dtos/listings/paginated-listing.dto.ts rename to api/src/dtos/listings/paginated-listing.dto.ts diff --git a/backend_new/src/dtos/map-layers/map-layer.dto.ts b/api/src/dtos/map-layers/map-layer.dto.ts similarity index 100% rename from backend_new/src/dtos/map-layers/map-layer.dto.ts rename to api/src/dtos/map-layers/map-layer.dto.ts diff --git a/backend_new/src/dtos/map-layers/map-layers-query-params.dto.ts b/api/src/dtos/map-layers/map-layers-query-params.dto.ts similarity index 100% rename from backend_new/src/dtos/map-layers/map-layers-query-params.dto.ts rename to api/src/dtos/map-layers/map-layers-query-params.dto.ts diff --git a/backend_new/src/dtos/mfa/request-mfa-code-response.dto.ts b/api/src/dtos/mfa/request-mfa-code-response.dto.ts similarity index 100% rename from backend_new/src/dtos/mfa/request-mfa-code-response.dto.ts rename to api/src/dtos/mfa/request-mfa-code-response.dto.ts diff --git a/backend_new/src/dtos/mfa/request-mfa-code.dto.ts b/api/src/dtos/mfa/request-mfa-code.dto.ts similarity index 100% rename from backend_new/src/dtos/mfa/request-mfa-code.dto.ts rename to api/src/dtos/mfa/request-mfa-code.dto.ts diff --git a/backend_new/src/dtos/multiselect-questions/multiselect-link.dto.ts b/api/src/dtos/multiselect-questions/multiselect-link.dto.ts similarity index 100% rename from backend_new/src/dtos/multiselect-questions/multiselect-link.dto.ts rename to api/src/dtos/multiselect-questions/multiselect-link.dto.ts diff --git a/backend_new/src/dtos/multiselect-questions/multiselect-option.dto.ts b/api/src/dtos/multiselect-questions/multiselect-option.dto.ts similarity index 100% rename from backend_new/src/dtos/multiselect-questions/multiselect-option.dto.ts rename to api/src/dtos/multiselect-questions/multiselect-option.dto.ts diff --git a/backend_new/src/dtos/multiselect-questions/multiselect-question-create.dto.ts b/api/src/dtos/multiselect-questions/multiselect-question-create.dto.ts similarity index 100% rename from backend_new/src/dtos/multiselect-questions/multiselect-question-create.dto.ts rename to api/src/dtos/multiselect-questions/multiselect-question-create.dto.ts diff --git a/backend_new/src/dtos/multiselect-questions/multiselect-question-filter-params.dto.ts b/api/src/dtos/multiselect-questions/multiselect-question-filter-params.dto.ts similarity index 100% rename from backend_new/src/dtos/multiselect-questions/multiselect-question-filter-params.dto.ts rename to api/src/dtos/multiselect-questions/multiselect-question-filter-params.dto.ts diff --git a/backend_new/src/dtos/multiselect-questions/multiselect-question-query-params.dto.ts b/api/src/dtos/multiselect-questions/multiselect-question-query-params.dto.ts similarity index 100% rename from backend_new/src/dtos/multiselect-questions/multiselect-question-query-params.dto.ts rename to api/src/dtos/multiselect-questions/multiselect-question-query-params.dto.ts diff --git a/backend_new/src/dtos/multiselect-questions/multiselect-question-update.dto.ts b/api/src/dtos/multiselect-questions/multiselect-question-update.dto.ts similarity index 100% rename from backend_new/src/dtos/multiselect-questions/multiselect-question-update.dto.ts rename to api/src/dtos/multiselect-questions/multiselect-question-update.dto.ts diff --git a/backend_new/src/dtos/multiselect-questions/multiselect-question.dto.ts b/api/src/dtos/multiselect-questions/multiselect-question.dto.ts similarity index 100% rename from backend_new/src/dtos/multiselect-questions/multiselect-question.dto.ts rename to api/src/dtos/multiselect-questions/multiselect-question.dto.ts diff --git a/backend_new/src/dtos/paper-applications/paper-application-create.dto.ts b/api/src/dtos/paper-applications/paper-application-create.dto.ts similarity index 100% rename from backend_new/src/dtos/paper-applications/paper-application-create.dto.ts rename to api/src/dtos/paper-applications/paper-application-create.dto.ts diff --git a/backend_new/src/dtos/paper-applications/paper-application.dto.ts b/api/src/dtos/paper-applications/paper-application.dto.ts similarity index 100% rename from backend_new/src/dtos/paper-applications/paper-application.dto.ts rename to api/src/dtos/paper-applications/paper-application.dto.ts diff --git a/backend_new/src/dtos/reserved-community-types/reserved-community-type-create.dto.ts b/api/src/dtos/reserved-community-types/reserved-community-type-create.dto.ts similarity index 100% rename from backend_new/src/dtos/reserved-community-types/reserved-community-type-create.dto.ts rename to api/src/dtos/reserved-community-types/reserved-community-type-create.dto.ts diff --git a/backend_new/src/dtos/reserved-community-types/reserved-community-type-query-params.dto.ts b/api/src/dtos/reserved-community-types/reserved-community-type-query-params.dto.ts similarity index 100% rename from backend_new/src/dtos/reserved-community-types/reserved-community-type-query-params.dto.ts rename to api/src/dtos/reserved-community-types/reserved-community-type-query-params.dto.ts diff --git a/backend_new/src/dtos/reserved-community-types/reserved-community-type-update.dto.ts b/api/src/dtos/reserved-community-types/reserved-community-type-update.dto.ts similarity index 100% rename from backend_new/src/dtos/reserved-community-types/reserved-community-type-update.dto.ts rename to api/src/dtos/reserved-community-types/reserved-community-type-update.dto.ts diff --git a/backend_new/src/dtos/reserved-community-types/reserved-community-type.dto.ts b/api/src/dtos/reserved-community-types/reserved-community-type.dto.ts similarity index 100% rename from backend_new/src/dtos/reserved-community-types/reserved-community-type.dto.ts rename to api/src/dtos/reserved-community-types/reserved-community-type.dto.ts diff --git a/backend_new/src/dtos/shared/abstract.dto.ts b/api/src/dtos/shared/abstract.dto.ts similarity index 100% rename from backend_new/src/dtos/shared/abstract.dto.ts rename to api/src/dtos/shared/abstract.dto.ts diff --git a/backend_new/src/dtos/shared/base-filter.dto.ts b/api/src/dtos/shared/base-filter.dto.ts similarity index 100% rename from backend_new/src/dtos/shared/base-filter.dto.ts rename to api/src/dtos/shared/base-filter.dto.ts diff --git a/backend_new/src/dtos/shared/id.dto.ts b/api/src/dtos/shared/id.dto.ts similarity index 100% rename from backend_new/src/dtos/shared/id.dto.ts rename to api/src/dtos/shared/id.dto.ts diff --git a/backend_new/src/dtos/shared/min-max-currency.dto.ts b/api/src/dtos/shared/min-max-currency.dto.ts similarity index 100% rename from backend_new/src/dtos/shared/min-max-currency.dto.ts rename to api/src/dtos/shared/min-max-currency.dto.ts diff --git a/backend_new/src/dtos/shared/min-max.dto.ts b/api/src/dtos/shared/min-max.dto.ts similarity index 100% rename from backend_new/src/dtos/shared/min-max.dto.ts rename to api/src/dtos/shared/min-max.dto.ts diff --git a/backend_new/src/dtos/shared/pagination.dto.ts b/api/src/dtos/shared/pagination.dto.ts similarity index 100% rename from backend_new/src/dtos/shared/pagination.dto.ts rename to api/src/dtos/shared/pagination.dto.ts diff --git a/backend_new/src/dtos/shared/success.dto.ts b/api/src/dtos/shared/success.dto.ts similarity index 100% rename from backend_new/src/dtos/shared/success.dto.ts rename to api/src/dtos/shared/success.dto.ts diff --git a/backend_new/src/dtos/unit-accessibility-priority-types/unit-accessibility-priority-type-create.dto.ts b/api/src/dtos/unit-accessibility-priority-types/unit-accessibility-priority-type-create.dto.ts similarity index 100% rename from backend_new/src/dtos/unit-accessibility-priority-types/unit-accessibility-priority-type-create.dto.ts rename to api/src/dtos/unit-accessibility-priority-types/unit-accessibility-priority-type-create.dto.ts diff --git a/backend_new/src/dtos/unit-accessibility-priority-types/unit-accessibility-priority-type-update.dto.ts b/api/src/dtos/unit-accessibility-priority-types/unit-accessibility-priority-type-update.dto.ts similarity index 100% rename from backend_new/src/dtos/unit-accessibility-priority-types/unit-accessibility-priority-type-update.dto.ts rename to api/src/dtos/unit-accessibility-priority-types/unit-accessibility-priority-type-update.dto.ts diff --git a/backend_new/src/dtos/unit-accessibility-priority-types/unit-accessibility-priority-type.dto.ts b/api/src/dtos/unit-accessibility-priority-types/unit-accessibility-priority-type.dto.ts similarity index 100% rename from backend_new/src/dtos/unit-accessibility-priority-types/unit-accessibility-priority-type.dto.ts rename to api/src/dtos/unit-accessibility-priority-types/unit-accessibility-priority-type.dto.ts diff --git a/backend_new/src/dtos/unit-rent-types/unit-rent-type-create.dto.ts b/api/src/dtos/unit-rent-types/unit-rent-type-create.dto.ts similarity index 100% rename from backend_new/src/dtos/unit-rent-types/unit-rent-type-create.dto.ts rename to api/src/dtos/unit-rent-types/unit-rent-type-create.dto.ts diff --git a/backend_new/src/dtos/unit-rent-types/unit-rent-type-update.dto.ts b/api/src/dtos/unit-rent-types/unit-rent-type-update.dto.ts similarity index 100% rename from backend_new/src/dtos/unit-rent-types/unit-rent-type-update.dto.ts rename to api/src/dtos/unit-rent-types/unit-rent-type-update.dto.ts diff --git a/backend_new/src/dtos/unit-rent-types/unit-rent-type.dto.ts b/api/src/dtos/unit-rent-types/unit-rent-type.dto.ts similarity index 100% rename from backend_new/src/dtos/unit-rent-types/unit-rent-type.dto.ts rename to api/src/dtos/unit-rent-types/unit-rent-type.dto.ts diff --git a/backend_new/src/dtos/unit-types/unit-type-create.dto.ts b/api/src/dtos/unit-types/unit-type-create.dto.ts similarity index 100% rename from backend_new/src/dtos/unit-types/unit-type-create.dto.ts rename to api/src/dtos/unit-types/unit-type-create.dto.ts diff --git a/backend_new/src/dtos/unit-types/unit-type-update.dto.ts b/api/src/dtos/unit-types/unit-type-update.dto.ts similarity index 100% rename from backend_new/src/dtos/unit-types/unit-type-update.dto.ts rename to api/src/dtos/unit-types/unit-type-update.dto.ts diff --git a/backend_new/src/dtos/unit-types/unit-type.dto.ts b/api/src/dtos/unit-types/unit-type.dto.ts similarity index 100% rename from backend_new/src/dtos/unit-types/unit-type.dto.ts rename to api/src/dtos/unit-types/unit-type.dto.ts diff --git a/backend_new/src/dtos/units/ami-chart-item.dto.ts b/api/src/dtos/units/ami-chart-item.dto.ts similarity index 100% rename from backend_new/src/dtos/units/ami-chart-item.dto.ts rename to api/src/dtos/units/ami-chart-item.dto.ts diff --git a/backend_new/src/dtos/units/ami-chart-override-create.dto.ts b/api/src/dtos/units/ami-chart-override-create.dto.ts similarity index 100% rename from backend_new/src/dtos/units/ami-chart-override-create.dto.ts rename to api/src/dtos/units/ami-chart-override-create.dto.ts diff --git a/backend_new/src/dtos/units/ami-chart-override.dto.ts b/api/src/dtos/units/ami-chart-override.dto.ts similarity index 100% rename from backend_new/src/dtos/units/ami-chart-override.dto.ts rename to api/src/dtos/units/ami-chart-override.dto.ts diff --git a/backend_new/src/dtos/units/ami-chart.dto.ts b/api/src/dtos/units/ami-chart.dto.ts similarity index 100% rename from backend_new/src/dtos/units/ami-chart.dto.ts rename to api/src/dtos/units/ami-chart.dto.ts diff --git a/backend_new/src/dtos/units/hmi.dto.ts b/api/src/dtos/units/hmi.dto.ts similarity index 100% rename from backend_new/src/dtos/units/hmi.dto.ts rename to api/src/dtos/units/hmi.dto.ts diff --git a/backend_new/src/dtos/units/unit-create.dto.ts b/api/src/dtos/units/unit-create.dto.ts similarity index 100% rename from backend_new/src/dtos/units/unit-create.dto.ts rename to api/src/dtos/units/unit-create.dto.ts diff --git a/backend_new/src/dtos/units/unit-summarized.dto.ts b/api/src/dtos/units/unit-summarized.dto.ts similarity index 100% rename from backend_new/src/dtos/units/unit-summarized.dto.ts rename to api/src/dtos/units/unit-summarized.dto.ts diff --git a/backend_new/src/dtos/units/unit-summary-by-ami.dto.ts b/api/src/dtos/units/unit-summary-by-ami.dto.ts similarity index 100% rename from backend_new/src/dtos/units/unit-summary-by-ami.dto.ts rename to api/src/dtos/units/unit-summary-by-ami.dto.ts diff --git a/backend_new/src/dtos/units/unit-summary.dto.ts b/api/src/dtos/units/unit-summary.dto.ts similarity index 100% rename from backend_new/src/dtos/units/unit-summary.dto.ts rename to api/src/dtos/units/unit-summary.dto.ts diff --git a/backend_new/src/dtos/units/unit.dto.ts b/api/src/dtos/units/unit.dto.ts similarity index 100% rename from backend_new/src/dtos/units/unit.dto.ts rename to api/src/dtos/units/unit.dto.ts diff --git a/backend_new/src/dtos/units/units-summary-create.dto.ts b/api/src/dtos/units/units-summary-create.dto.ts similarity index 100% rename from backend_new/src/dtos/units/units-summary-create.dto.ts rename to api/src/dtos/units/units-summary-create.dto.ts diff --git a/backend_new/src/dtos/units/units-summary.dto.ts b/api/src/dtos/units/units-summary.dto.ts similarity index 100% rename from backend_new/src/dtos/units/units-summary.dto.ts rename to api/src/dtos/units/units-summary.dto.ts diff --git a/backend_new/src/dtos/users/confirmation-request.dto.ts b/api/src/dtos/users/confirmation-request.dto.ts similarity index 100% rename from backend_new/src/dtos/users/confirmation-request.dto.ts rename to api/src/dtos/users/confirmation-request.dto.ts diff --git a/backend_new/src/dtos/users/email-and-app-url.dto.ts b/api/src/dtos/users/email-and-app-url.dto.ts similarity index 100% rename from backend_new/src/dtos/users/email-and-app-url.dto.ts rename to api/src/dtos/users/email-and-app-url.dto.ts diff --git a/backend_new/src/dtos/users/paginated-user.dto.ts b/api/src/dtos/users/paginated-user.dto.ts similarity index 100% rename from backend_new/src/dtos/users/paginated-user.dto.ts rename to api/src/dtos/users/paginated-user.dto.ts diff --git a/backend_new/src/dtos/users/user-create-params.dto.ts b/api/src/dtos/users/user-create-params.dto.ts similarity index 100% rename from backend_new/src/dtos/users/user-create-params.dto.ts rename to api/src/dtos/users/user-create-params.dto.ts diff --git a/backend_new/src/dtos/users/user-create.dto.ts b/api/src/dtos/users/user-create.dto.ts similarity index 100% rename from backend_new/src/dtos/users/user-create.dto.ts rename to api/src/dtos/users/user-create.dto.ts diff --git a/backend_new/src/dtos/users/user-filter-params.dto.ts b/api/src/dtos/users/user-filter-params.dto.ts similarity index 100% rename from backend_new/src/dtos/users/user-filter-params.dto.ts rename to api/src/dtos/users/user-filter-params.dto.ts diff --git a/backend_new/src/dtos/users/user-invite.dto.ts b/api/src/dtos/users/user-invite.dto.ts similarity index 100% rename from backend_new/src/dtos/users/user-invite.dto.ts rename to api/src/dtos/users/user-invite.dto.ts diff --git a/backend_new/src/dtos/users/user-query-param.dto.ts b/api/src/dtos/users/user-query-param.dto.ts similarity index 100% rename from backend_new/src/dtos/users/user-query-param.dto.ts rename to api/src/dtos/users/user-query-param.dto.ts diff --git a/backend_new/src/dtos/users/user-role.dto.ts b/api/src/dtos/users/user-role.dto.ts similarity index 100% rename from backend_new/src/dtos/users/user-role.dto.ts rename to api/src/dtos/users/user-role.dto.ts diff --git a/backend_new/src/dtos/users/user-update.dto.ts b/api/src/dtos/users/user-update.dto.ts similarity index 100% rename from backend_new/src/dtos/users/user-update.dto.ts rename to api/src/dtos/users/user-update.dto.ts diff --git a/backend_new/src/dtos/users/user.dto.ts b/api/src/dtos/users/user.dto.ts similarity index 100% rename from backend_new/src/dtos/users/user.dto.ts rename to api/src/dtos/users/user.dto.ts diff --git a/backend_new/src/enums/application-flagged-sets/view.ts b/api/src/enums/application-flagged-sets/view.ts similarity index 100% rename from backend_new/src/enums/application-flagged-sets/view.ts rename to api/src/enums/application-flagged-sets/view.ts diff --git a/backend_new/src/enums/applications/order-by-enum.ts b/api/src/enums/applications/order-by-enum.ts similarity index 100% rename from backend_new/src/enums/applications/order-by-enum.ts rename to api/src/enums/applications/order-by-enum.ts diff --git a/backend_new/src/enums/applications/view-enum.ts b/api/src/enums/applications/view-enum.ts similarity index 100% rename from backend_new/src/enums/applications/view-enum.ts rename to api/src/enums/applications/view-enum.ts diff --git a/backend_new/src/enums/listings/filter-key-enum.ts b/api/src/enums/listings/filter-key-enum.ts similarity index 100% rename from backend_new/src/enums/listings/filter-key-enum.ts rename to api/src/enums/listings/filter-key-enum.ts diff --git a/backend_new/src/enums/listings/order-by-enum.ts b/api/src/enums/listings/order-by-enum.ts similarity index 100% rename from backend_new/src/enums/listings/order-by-enum.ts rename to api/src/enums/listings/order-by-enum.ts diff --git a/backend_new/src/enums/listings/review-order-enum.ts b/api/src/enums/listings/review-order-enum.ts similarity index 100% rename from backend_new/src/enums/listings/review-order-enum.ts rename to api/src/enums/listings/review-order-enum.ts diff --git a/backend_new/src/enums/listings/view-enum.ts b/api/src/enums/listings/view-enum.ts similarity index 100% rename from backend_new/src/enums/listings/view-enum.ts rename to api/src/enums/listings/view-enum.ts diff --git a/backend_new/src/enums/mfa/mfa-type-enum.ts b/api/src/enums/mfa/mfa-type-enum.ts similarity index 100% rename from backend_new/src/enums/mfa/mfa-type-enum.ts rename to api/src/enums/mfa/mfa-type-enum.ts diff --git a/backend_new/src/enums/multiselect-questions/filter-key-enum.ts b/api/src/enums/multiselect-questions/filter-key-enum.ts similarity index 100% rename from backend_new/src/enums/multiselect-questions/filter-key-enum.ts rename to api/src/enums/multiselect-questions/filter-key-enum.ts diff --git a/backend_new/src/enums/multiselect-questions/validation-method-enum.ts b/api/src/enums/multiselect-questions/validation-method-enum.ts similarity index 100% rename from backend_new/src/enums/multiselect-questions/validation-method-enum.ts rename to api/src/enums/multiselect-questions/validation-method-enum.ts diff --git a/backend_new/src/enums/permissions/http-method-to-actions-enum.ts b/api/src/enums/permissions/http-method-to-actions-enum.ts similarity index 100% rename from backend_new/src/enums/permissions/http-method-to-actions-enum.ts rename to api/src/enums/permissions/http-method-to-actions-enum.ts diff --git a/backend_new/src/enums/permissions/permission-actions-enum.ts b/api/src/enums/permissions/permission-actions-enum.ts similarity index 100% rename from backend_new/src/enums/permissions/permission-actions-enum.ts rename to api/src/enums/permissions/permission-actions-enum.ts diff --git a/backend_new/src/enums/permissions/user-role-enum.ts b/api/src/enums/permissions/user-role-enum.ts similarity index 100% rename from backend_new/src/enums/permissions/user-role-enum.ts rename to api/src/enums/permissions/user-role-enum.ts diff --git a/backend_new/src/enums/shared/input-type-enum.ts b/api/src/enums/shared/input-type-enum.ts similarity index 100% rename from backend_new/src/enums/shared/input-type-enum.ts rename to api/src/enums/shared/input-type-enum.ts diff --git a/backend_new/src/enums/shared/order-by-enum.ts b/api/src/enums/shared/order-by-enum.ts similarity index 100% rename from backend_new/src/enums/shared/order-by-enum.ts rename to api/src/enums/shared/order-by-enum.ts diff --git a/backend_new/src/enums/shared/validation-groups-enum.ts b/api/src/enums/shared/validation-groups-enum.ts similarity index 100% rename from backend_new/src/enums/shared/validation-groups-enum.ts rename to api/src/enums/shared/validation-groups-enum.ts diff --git a/backend_new/src/guards/admin-or-jurisdiction-admin.guard.ts b/api/src/guards/admin-or-jurisdiction-admin.guard.ts similarity index 100% rename from backend_new/src/guards/admin-or-jurisdiction-admin.guard.ts rename to api/src/guards/admin-or-jurisdiction-admin.guard.ts diff --git a/backend_new/src/guards/jwt.guard.ts b/api/src/guards/jwt.guard.ts similarity index 100% rename from backend_new/src/guards/jwt.guard.ts rename to api/src/guards/jwt.guard.ts diff --git a/backend_new/src/guards/mfa.guard.ts b/api/src/guards/mfa.guard.ts similarity index 100% rename from backend_new/src/guards/mfa.guard.ts rename to api/src/guards/mfa.guard.ts diff --git a/backend_new/src/guards/optional.guard.ts b/api/src/guards/optional.guard.ts similarity index 100% rename from backend_new/src/guards/optional.guard.ts rename to api/src/guards/optional.guard.ts diff --git a/backend_new/src/guards/permission.guard.ts b/api/src/guards/permission.guard.ts similarity index 100% rename from backend_new/src/guards/permission.guard.ts rename to api/src/guards/permission.guard.ts diff --git a/backend_new/src/guards/user-profile-permission-guard.ts b/api/src/guards/user-profile-permission-guard.ts similarity index 100% rename from backend_new/src/guards/user-profile-permission-guard.ts rename to api/src/guards/user-profile-permission-guard.ts diff --git a/backend_new/src/interceptors/activity-log.interceptor.ts b/api/src/interceptors/activity-log.interceptor.ts similarity index 100% rename from backend_new/src/interceptors/activity-log.interceptor.ts rename to api/src/interceptors/activity-log.interceptor.ts diff --git a/backend_new/src/main.ts b/api/src/main.ts similarity index 100% rename from backend_new/src/main.ts rename to api/src/main.ts diff --git a/backend_new/src/modules/ami-chart.module.ts b/api/src/modules/ami-chart.module.ts similarity index 100% rename from backend_new/src/modules/ami-chart.module.ts rename to api/src/modules/ami-chart.module.ts diff --git a/backend_new/src/modules/app.module.ts b/api/src/modules/app.module.ts similarity index 100% rename from backend_new/src/modules/app.module.ts rename to api/src/modules/app.module.ts diff --git a/backend_new/src/modules/application-flagged-set.module.ts b/api/src/modules/application-flagged-set.module.ts similarity index 100% rename from backend_new/src/modules/application-flagged-set.module.ts rename to api/src/modules/application-flagged-set.module.ts diff --git a/backend_new/src/modules/application.module.ts b/api/src/modules/application.module.ts similarity index 100% rename from backend_new/src/modules/application.module.ts rename to api/src/modules/application.module.ts diff --git a/backend_new/src/modules/asset.module.ts b/api/src/modules/asset.module.ts similarity index 100% rename from backend_new/src/modules/asset.module.ts rename to api/src/modules/asset.module.ts diff --git a/backend_new/src/modules/auth.module.ts b/api/src/modules/auth.module.ts similarity index 100% rename from backend_new/src/modules/auth.module.ts rename to api/src/modules/auth.module.ts diff --git a/backend_new/src/modules/email.module.ts b/api/src/modules/email.module.ts similarity index 100% rename from backend_new/src/modules/email.module.ts rename to api/src/modules/email.module.ts diff --git a/backend_new/src/modules/jurisdiction.module.ts b/api/src/modules/jurisdiction.module.ts similarity index 100% rename from backend_new/src/modules/jurisdiction.module.ts rename to api/src/modules/jurisdiction.module.ts diff --git a/backend_new/src/modules/listing.module.ts b/api/src/modules/listing.module.ts similarity index 100% rename from backend_new/src/modules/listing.module.ts rename to api/src/modules/listing.module.ts diff --git a/backend_new/src/modules/map-layer.module.ts b/api/src/modules/map-layer.module.ts similarity index 100% rename from backend_new/src/modules/map-layer.module.ts rename to api/src/modules/map-layer.module.ts diff --git a/backend_new/src/modules/multiselect-question.module.ts b/api/src/modules/multiselect-question.module.ts similarity index 100% rename from backend_new/src/modules/multiselect-question.module.ts rename to api/src/modules/multiselect-question.module.ts diff --git a/backend_new/src/modules/permission.module.ts b/api/src/modules/permission.module.ts similarity index 100% rename from backend_new/src/modules/permission.module.ts rename to api/src/modules/permission.module.ts diff --git a/backend_new/src/modules/prisma.module.ts b/api/src/modules/prisma.module.ts similarity index 100% rename from backend_new/src/modules/prisma.module.ts rename to api/src/modules/prisma.module.ts diff --git a/backend_new/src/modules/reserved-community-type.module.ts b/api/src/modules/reserved-community-type.module.ts similarity index 100% rename from backend_new/src/modules/reserved-community-type.module.ts rename to api/src/modules/reserved-community-type.module.ts diff --git a/backend_new/src/modules/sms-module.ts b/api/src/modules/sms-module.ts similarity index 100% rename from backend_new/src/modules/sms-module.ts rename to api/src/modules/sms-module.ts diff --git a/backend_new/src/modules/unit-accessibility-priority-type.module.ts b/api/src/modules/unit-accessibility-priority-type.module.ts similarity index 100% rename from backend_new/src/modules/unit-accessibility-priority-type.module.ts rename to api/src/modules/unit-accessibility-priority-type.module.ts diff --git a/backend_new/src/modules/unit-rent-type.module.ts b/api/src/modules/unit-rent-type.module.ts similarity index 100% rename from backend_new/src/modules/unit-rent-type.module.ts rename to api/src/modules/unit-rent-type.module.ts diff --git a/backend_new/src/modules/unit-type.module.ts b/api/src/modules/unit-type.module.ts similarity index 100% rename from backend_new/src/modules/unit-type.module.ts rename to api/src/modules/unit-type.module.ts diff --git a/backend_new/src/modules/user.module.ts b/api/src/modules/user.module.ts similarity index 100% rename from backend_new/src/modules/user.module.ts rename to api/src/modules/user.module.ts diff --git a/backend_new/src/passports/jwt.strategy.ts b/api/src/passports/jwt.strategy.ts similarity index 100% rename from backend_new/src/passports/jwt.strategy.ts rename to api/src/passports/jwt.strategy.ts diff --git a/backend_new/src/passports/mfa.strategy.ts b/api/src/passports/mfa.strategy.ts similarity index 100% rename from backend_new/src/passports/mfa.strategy.ts rename to api/src/passports/mfa.strategy.ts diff --git a/backend_new/src/permission-configs/permission_model.conf b/api/src/permission-configs/permission_model.conf similarity index 100% rename from backend_new/src/permission-configs/permission_model.conf rename to api/src/permission-configs/permission_model.conf diff --git a/backend_new/src/permission-configs/permission_policy.csv b/api/src/permission-configs/permission_policy.csv similarity index 100% rename from backend_new/src/permission-configs/permission_policy.csv rename to api/src/permission-configs/permission_policy.csv diff --git a/backend_new/src/services/ami-chart.service.ts b/api/src/services/ami-chart.service.ts similarity index 100% rename from backend_new/src/services/ami-chart.service.ts rename to api/src/services/ami-chart.service.ts diff --git a/backend_new/src/services/app.service.ts b/api/src/services/app.service.ts similarity index 100% rename from backend_new/src/services/app.service.ts rename to api/src/services/app.service.ts diff --git a/backend_new/src/services/application-csv-export.service.ts b/api/src/services/application-csv-export.service.ts similarity index 100% rename from backend_new/src/services/application-csv-export.service.ts rename to api/src/services/application-csv-export.service.ts diff --git a/backend_new/src/services/application-flagged-set.service.ts b/api/src/services/application-flagged-set.service.ts similarity index 100% rename from backend_new/src/services/application-flagged-set.service.ts rename to api/src/services/application-flagged-set.service.ts diff --git a/backend_new/src/services/application.service.ts b/api/src/services/application.service.ts similarity index 100% rename from backend_new/src/services/application.service.ts rename to api/src/services/application.service.ts diff --git a/backend_new/src/services/asset.service.ts b/api/src/services/asset.service.ts similarity index 100% rename from backend_new/src/services/asset.service.ts rename to api/src/services/asset.service.ts diff --git a/backend_new/src/services/auth.service.ts b/api/src/services/auth.service.ts similarity index 100% rename from backend_new/src/services/auth.service.ts rename to api/src/services/auth.service.ts diff --git a/backend_new/src/services/email.service.ts b/api/src/services/email.service.ts similarity index 100% rename from backend_new/src/services/email.service.ts rename to api/src/services/email.service.ts diff --git a/backend_new/src/services/geocoding.service.ts b/api/src/services/geocoding.service.ts similarity index 100% rename from backend_new/src/services/geocoding.service.ts rename to api/src/services/geocoding.service.ts diff --git a/backend_new/src/services/google-translate.service.ts b/api/src/services/google-translate.service.ts similarity index 100% rename from backend_new/src/services/google-translate.service.ts rename to api/src/services/google-translate.service.ts diff --git a/backend_new/src/services/jurisdiction.service.ts b/api/src/services/jurisdiction.service.ts similarity index 100% rename from backend_new/src/services/jurisdiction.service.ts rename to api/src/services/jurisdiction.service.ts diff --git a/backend_new/src/services/listing-csv-export.service.ts b/api/src/services/listing-csv-export.service.ts similarity index 100% rename from backend_new/src/services/listing-csv-export.service.ts rename to api/src/services/listing-csv-export.service.ts diff --git a/backend_new/src/services/listing.service.ts b/api/src/services/listing.service.ts similarity index 100% rename from backend_new/src/services/listing.service.ts rename to api/src/services/listing.service.ts diff --git a/backend_new/src/services/map-layers.service.ts b/api/src/services/map-layers.service.ts similarity index 100% rename from backend_new/src/services/map-layers.service.ts rename to api/src/services/map-layers.service.ts diff --git a/backend_new/src/services/multiselect-question.service.ts b/api/src/services/multiselect-question.service.ts similarity index 100% rename from backend_new/src/services/multiselect-question.service.ts rename to api/src/services/multiselect-question.service.ts diff --git a/backend_new/src/services/permission.service.ts b/api/src/services/permission.service.ts similarity index 100% rename from backend_new/src/services/permission.service.ts rename to api/src/services/permission.service.ts diff --git a/backend_new/src/services/prisma.service.ts b/api/src/services/prisma.service.ts similarity index 100% rename from backend_new/src/services/prisma.service.ts rename to api/src/services/prisma.service.ts diff --git a/backend_new/src/services/reserved-community-type.service.ts b/api/src/services/reserved-community-type.service.ts similarity index 100% rename from backend_new/src/services/reserved-community-type.service.ts rename to api/src/services/reserved-community-type.service.ts diff --git a/backend_new/src/services/sendgrid.service.ts b/api/src/services/sendgrid.service.ts similarity index 100% rename from backend_new/src/services/sendgrid.service.ts rename to api/src/services/sendgrid.service.ts diff --git a/backend_new/src/services/sms.service.ts b/api/src/services/sms.service.ts similarity index 100% rename from backend_new/src/services/sms.service.ts rename to api/src/services/sms.service.ts diff --git a/backend_new/src/services/translation.service.ts b/api/src/services/translation.service.ts similarity index 100% rename from backend_new/src/services/translation.service.ts rename to api/src/services/translation.service.ts diff --git a/backend_new/src/services/unit-accessibility-priority-type.service.ts b/api/src/services/unit-accessibility-priority-type.service.ts similarity index 100% rename from backend_new/src/services/unit-accessibility-priority-type.service.ts rename to api/src/services/unit-accessibility-priority-type.service.ts diff --git a/backend_new/src/services/unit-rent-type.service.ts b/api/src/services/unit-rent-type.service.ts similarity index 100% rename from backend_new/src/services/unit-rent-type.service.ts rename to api/src/services/unit-rent-type.service.ts diff --git a/backend_new/src/services/unit-type.service.ts b/api/src/services/unit-type.service.ts similarity index 100% rename from backend_new/src/services/unit-type.service.ts rename to api/src/services/unit-type.service.ts diff --git a/backend_new/src/services/user.service.ts b/api/src/services/user.service.ts similarity index 100% rename from backend_new/src/services/user.service.ts rename to api/src/services/user.service.ts diff --git a/backend_new/src/temp/.gitignore b/api/src/temp/.gitignore similarity index 100% rename from backend_new/src/temp/.gitignore rename to api/src/temp/.gitignore diff --git a/backend_new/src/types/CsvExportInterface.ts b/api/src/types/CsvExportInterface.ts similarity index 100% rename from backend_new/src/types/CsvExportInterface.ts rename to api/src/types/CsvExportInterface.ts diff --git a/backend_new/src/utilities/applications-utilities.ts b/api/src/utilities/applications-utilities.ts similarity index 100% rename from backend_new/src/utilities/applications-utilities.ts rename to api/src/utilities/applications-utilities.ts diff --git a/backend_new/src/utilities/build-filter.ts b/api/src/utilities/build-filter.ts similarity index 100% rename from backend_new/src/utilities/build-filter.ts rename to api/src/utilities/build-filter.ts diff --git a/backend_new/src/utilities/build-order-by.ts b/api/src/utilities/build-order-by.ts similarity index 100% rename from backend_new/src/utilities/build-order-by.ts rename to api/src/utilities/build-order-by.ts diff --git a/backend_new/src/utilities/build-pagination-meta.ts b/api/src/utilities/build-pagination-meta.ts similarity index 100% rename from backend_new/src/utilities/build-pagination-meta.ts rename to api/src/utilities/build-pagination-meta.ts diff --git a/backend_new/src/utilities/cron-job-starter.ts b/api/src/utilities/cron-job-starter.ts similarity index 100% rename from backend_new/src/utilities/cron-job-starter.ts rename to api/src/utilities/cron-job-starter.ts diff --git a/backend_new/src/utilities/csv-builder.ts b/api/src/utilities/csv-builder.ts similarity index 100% rename from backend_new/src/utilities/csv-builder.ts rename to api/src/utilities/csv-builder.ts diff --git a/backend_new/src/utilities/custom-exception-filter.ts b/api/src/utilities/custom-exception-filter.ts similarity index 100% rename from backend_new/src/utilities/custom-exception-filter.ts rename to api/src/utilities/custom-exception-filter.ts diff --git a/backend_new/src/utilities/deep-find.ts b/api/src/utilities/deep-find.ts similarity index 100% rename from backend_new/src/utilities/deep-find.ts rename to api/src/utilities/deep-find.ts diff --git a/backend_new/src/utilities/default-validation-pipe-options.ts b/api/src/utilities/default-validation-pipe-options.ts similarity index 100% rename from backend_new/src/utilities/default-validation-pipe-options.ts rename to api/src/utilities/default-validation-pipe-options.ts diff --git a/backend_new/src/utilities/format-local-date.ts b/api/src/utilities/format-local-date.ts similarity index 100% rename from backend_new/src/utilities/format-local-date.ts rename to api/src/utilities/format-local-date.ts diff --git a/backend_new/src/utilities/is-empty.ts b/api/src/utilities/is-empty.ts similarity index 100% rename from backend_new/src/utilities/is-empty.ts rename to api/src/utilities/is-empty.ts diff --git a/backend_new/src/utilities/listing-url-slug.ts b/api/src/utilities/listing-url-slug.ts similarity index 100% rename from backend_new/src/utilities/listing-url-slug.ts rename to api/src/utilities/listing-url-slug.ts diff --git a/backend_new/src/utilities/mapTo.ts b/api/src/utilities/mapTo.ts similarity index 100% rename from backend_new/src/utilities/mapTo.ts rename to api/src/utilities/mapTo.ts diff --git a/backend_new/src/utilities/order-by-validator.ts b/api/src/utilities/order-by-validator.ts similarity index 100% rename from backend_new/src/utilities/order-by-validator.ts rename to api/src/utilities/order-by-validator.ts diff --git a/backend_new/src/utilities/pagination-helpers.ts b/api/src/utilities/pagination-helpers.ts similarity index 100% rename from backend_new/src/utilities/pagination-helpers.ts rename to api/src/utilities/pagination-helpers.ts diff --git a/backend_new/src/utilities/password-helpers.ts b/api/src/utilities/password-helpers.ts similarity index 100% rename from backend_new/src/utilities/password-helpers.ts rename to api/src/utilities/password-helpers.ts diff --git a/backend_new/src/utilities/password-regex.ts b/api/src/utilities/password-regex.ts similarity index 100% rename from backend_new/src/utilities/password-regex.ts rename to api/src/utilities/password-regex.ts diff --git a/backend_new/src/utilities/unit-utilities.ts b/api/src/utilities/unit-utilities.ts similarity index 100% rename from backend_new/src/utilities/unit-utilities.ts rename to api/src/utilities/unit-utilities.ts diff --git a/backend_new/src/validation-pipes/listing-create-update-pipe.ts b/api/src/validation-pipes/listing-create-update-pipe.ts similarity index 100% rename from backend_new/src/validation-pipes/listing-create-update-pipe.ts rename to api/src/validation-pipes/listing-create-update-pipe.ts diff --git a/backend_new/src/views/change-email.hbs b/api/src/views/change-email.hbs similarity index 100% rename from backend_new/src/views/change-email.hbs rename to api/src/views/change-email.hbs diff --git a/backend_new/src/views/changes-requested.hbs b/api/src/views/changes-requested.hbs similarity index 100% rename from backend_new/src/views/changes-requested.hbs rename to api/src/views/changes-requested.hbs diff --git a/backend_new/src/views/confirmation.hbs b/api/src/views/confirmation.hbs similarity index 100% rename from backend_new/src/views/confirmation.hbs rename to api/src/views/confirmation.hbs diff --git a/backend_new/src/views/csv-export.hbs b/api/src/views/csv-export.hbs similarity index 100% rename from backend_new/src/views/csv-export.hbs rename to api/src/views/csv-export.hbs diff --git a/backend_new/src/views/forgot-password.hbs b/api/src/views/forgot-password.hbs similarity index 100% rename from backend_new/src/views/forgot-password.hbs rename to api/src/views/forgot-password.hbs diff --git a/backend_new/src/views/invite.hbs b/api/src/views/invite.hbs similarity index 100% rename from backend_new/src/views/invite.hbs rename to api/src/views/invite.hbs diff --git a/backend_new/src/views/layouts/default.hbs b/api/src/views/layouts/default.hbs similarity index 100% rename from backend_new/src/views/layouts/default.hbs rename to api/src/views/layouts/default.hbs diff --git a/backend_new/src/views/listing-approved.hbs b/api/src/views/listing-approved.hbs similarity index 100% rename from backend_new/src/views/listing-approved.hbs rename to api/src/views/listing-approved.hbs diff --git a/backend_new/src/views/mfa-code.hbs b/api/src/views/mfa-code.hbs similarity index 100% rename from backend_new/src/views/mfa-code.hbs rename to api/src/views/mfa-code.hbs diff --git a/backend_new/src/views/partials/feedback.hbs b/api/src/views/partials/feedback.hbs similarity index 100% rename from backend_new/src/views/partials/feedback.hbs rename to api/src/views/partials/feedback.hbs diff --git a/backend_new/src/views/partials/footer.hbs b/api/src/views/partials/footer.hbs similarity index 100% rename from backend_new/src/views/partials/footer.hbs rename to api/src/views/partials/footer.hbs diff --git a/backend_new/src/views/partials/head.hbs b/api/src/views/partials/head.hbs similarity index 100% rename from backend_new/src/views/partials/head.hbs rename to api/src/views/partials/head.hbs diff --git a/backend_new/src/views/partials/header.hbs b/api/src/views/partials/header.hbs similarity index 100% rename from backend_new/src/views/partials/header.hbs rename to api/src/views/partials/header.hbs diff --git a/backend_new/src/views/partials/leasing-agent.hbs b/api/src/views/partials/leasing-agent.hbs similarity index 100% rename from backend_new/src/views/partials/leasing-agent.hbs rename to api/src/views/partials/leasing-agent.hbs diff --git a/backend_new/src/views/partials/simple-footer.hbs b/api/src/views/partials/simple-footer.hbs similarity index 100% rename from backend_new/src/views/partials/simple-footer.hbs rename to api/src/views/partials/simple-footer.hbs diff --git a/backend_new/src/views/partials/user-name.hbs b/api/src/views/partials/user-name.hbs similarity index 100% rename from backend_new/src/views/partials/user-name.hbs rename to api/src/views/partials/user-name.hbs diff --git a/backend_new/src/views/portal-account-update.hbs b/api/src/views/portal-account-update.hbs similarity index 100% rename from backend_new/src/views/portal-account-update.hbs rename to api/src/views/portal-account-update.hbs diff --git a/backend_new/src/views/register-email.hbs b/api/src/views/register-email.hbs similarity index 100% rename from backend_new/src/views/register-email.hbs rename to api/src/views/register-email.hbs diff --git a/backend_new/src/views/request-approval.hbs b/api/src/views/request-approval.hbs similarity index 100% rename from backend_new/src/views/request-approval.hbs rename to api/src/views/request-approval.hbs diff --git a/backend_new/test/integration/ami-chart.e2e-spec.ts b/api/test/integration/ami-chart.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/ami-chart.e2e-spec.ts rename to api/test/integration/ami-chart.e2e-spec.ts diff --git a/backend_new/test/integration/app.e2e-spec.ts b/api/test/integration/app.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/app.e2e-spec.ts rename to api/test/integration/app.e2e-spec.ts diff --git a/backend_new/test/integration/application-flagged-set.e2e-spec.ts b/api/test/integration/application-flagged-set.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/application-flagged-set.e2e-spec.ts rename to api/test/integration/application-flagged-set.e2e-spec.ts diff --git a/backend_new/test/integration/application.e2e-spec.ts b/api/test/integration/application.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/application.e2e-spec.ts rename to api/test/integration/application.e2e-spec.ts diff --git a/backend_new/test/integration/asset.e2e-spec.ts b/api/test/integration/asset.e2e-spec.ts similarity index 97% rename from backend_new/test/integration/asset.e2e-spec.ts rename to api/test/integration/asset.e2e-spec.ts index 8df6c79dee..4d64811f76 100644 --- a/backend_new/test/integration/asset.e2e-spec.ts +++ b/api/test/integration/asset.e2e-spec.ts @@ -3,7 +3,7 @@ import { INestApplication } from '@nestjs/common'; import { randomUUID } from 'crypto'; import request from 'supertest'; import cookieParser from 'cookie-parser'; -import { AppModule } from '../../src//modules/app.module'; +import { AppModule } from '../../src/modules/app.module'; import { PrismaService } from '../../src/services/prisma.service'; import { userFactory } from '../../prisma/seed-helpers/user-factory'; import { Login } from '../../src/dtos/auth/login.dto'; diff --git a/backend_new/test/integration/auth.e2e-spec.ts b/api/test/integration/auth.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/auth.e2e-spec.ts rename to api/test/integration/auth.e2e-spec.ts diff --git a/backend_new/test/integration/jurisdiction.e2e-spec.ts b/api/test/integration/jurisdiction.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/jurisdiction.e2e-spec.ts rename to api/test/integration/jurisdiction.e2e-spec.ts diff --git a/backend_new/test/integration/listing.e2e-spec.ts b/api/test/integration/listing.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/listing.e2e-spec.ts rename to api/test/integration/listing.e2e-spec.ts diff --git a/backend_new/test/integration/multiselect-question.e2e-spec.ts b/api/test/integration/multiselect-question.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/multiselect-question.e2e-spec.ts rename to api/test/integration/multiselect-question.e2e-spec.ts diff --git a/backend_new/test/integration/permission-tests/helpers.ts b/api/test/integration/permission-tests/helpers.ts similarity index 100% rename from backend_new/test/integration/permission-tests/helpers.ts rename to api/test/integration/permission-tests/helpers.ts diff --git a/backend_new/test/integration/permission-tests/permission-as-admin.e2e-spec.ts b/api/test/integration/permission-tests/permission-as-admin.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/permission-tests/permission-as-admin.e2e-spec.ts rename to api/test/integration/permission-tests/permission-as-admin.e2e-spec.ts diff --git a/backend_new/test/integration/permission-tests/permission-as-juris-admin-correct-juris.e2e-spec.ts b/api/test/integration/permission-tests/permission-as-juris-admin-correct-juris.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/permission-tests/permission-as-juris-admin-correct-juris.e2e-spec.ts rename to api/test/integration/permission-tests/permission-as-juris-admin-correct-juris.e2e-spec.ts diff --git a/backend_new/test/integration/permission-tests/permission-as-juris-admin-wrong-juris.e2e-spec.ts b/api/test/integration/permission-tests/permission-as-juris-admin-wrong-juris.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/permission-tests/permission-as-juris-admin-wrong-juris.e2e-spec.ts rename to api/test/integration/permission-tests/permission-as-juris-admin-wrong-juris.e2e-spec.ts diff --git a/backend_new/test/integration/permission-tests/permission-as-no-user.e2e-spec.ts b/api/test/integration/permission-tests/permission-as-no-user.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/permission-tests/permission-as-no-user.e2e-spec.ts rename to api/test/integration/permission-tests/permission-as-no-user.e2e-spec.ts diff --git a/backend_new/test/integration/permission-tests/permission-as-partner-correct-listing.e2e-spec.ts b/api/test/integration/permission-tests/permission-as-partner-correct-listing.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/permission-tests/permission-as-partner-correct-listing.e2e-spec.ts rename to api/test/integration/permission-tests/permission-as-partner-correct-listing.e2e-spec.ts diff --git a/backend_new/test/integration/permission-tests/permission-as-partner-wrong-listing.e2e-spec.ts b/api/test/integration/permission-tests/permission-as-partner-wrong-listing.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/permission-tests/permission-as-partner-wrong-listing.e2e-spec.ts rename to api/test/integration/permission-tests/permission-as-partner-wrong-listing.e2e-spec.ts diff --git a/backend_new/test/integration/permission-tests/permission-as-public.e2e-spec.ts b/api/test/integration/permission-tests/permission-as-public.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/permission-tests/permission-as-public.e2e-spec.ts rename to api/test/integration/permission-tests/permission-as-public.e2e-spec.ts diff --git a/backend_new/test/integration/reserved-community-type.e2e-spec.ts b/api/test/integration/reserved-community-type.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/reserved-community-type.e2e-spec.ts rename to api/test/integration/reserved-community-type.e2e-spec.ts diff --git a/backend_new/test/integration/unit-accessibility-priority-type.e2e-spec.ts b/api/test/integration/unit-accessibility-priority-type.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/unit-accessibility-priority-type.e2e-spec.ts rename to api/test/integration/unit-accessibility-priority-type.e2e-spec.ts diff --git a/backend_new/test/integration/unit-rent-type.e2e-spec.ts b/api/test/integration/unit-rent-type.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/unit-rent-type.e2e-spec.ts rename to api/test/integration/unit-rent-type.e2e-spec.ts diff --git a/backend_new/test/integration/unit-type.e2e-spec.ts b/api/test/integration/unit-type.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/unit-type.e2e-spec.ts rename to api/test/integration/unit-type.e2e-spec.ts diff --git a/backend_new/test/integration/user.e2e-spec.ts b/api/test/integration/user.e2e-spec.ts similarity index 100% rename from backend_new/test/integration/user.e2e-spec.ts rename to api/test/integration/user.e2e-spec.ts diff --git a/backend_new/test/jest-e2e.config.js b/api/test/jest-e2e.config.js similarity index 100% rename from backend_new/test/jest-e2e.config.js rename to api/test/jest-e2e.config.js diff --git a/backend_new/test/jest-with-coverage.config.js b/api/test/jest-with-coverage.config.js similarity index 100% rename from backend_new/test/jest-with-coverage.config.js rename to api/test/jest-with-coverage.config.js diff --git a/backend_new/test/jest.config.js b/api/test/jest.config.js similarity index 100% rename from backend_new/test/jest.config.js rename to api/test/jest.config.js diff --git a/backend_new/test/unit/passports/jwt.strategy.spec.ts b/api/test/unit/passports/jwt.strategy.spec.ts similarity index 100% rename from backend_new/test/unit/passports/jwt.strategy.spec.ts rename to api/test/unit/passports/jwt.strategy.spec.ts diff --git a/backend_new/test/unit/passports/mfa.strategy.spec.ts b/api/test/unit/passports/mfa.strategy.spec.ts similarity index 100% rename from backend_new/test/unit/passports/mfa.strategy.spec.ts rename to api/test/unit/passports/mfa.strategy.spec.ts diff --git a/backend_new/test/unit/services/ami-chart.service.spec.ts b/api/test/unit/services/ami-chart.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/ami-chart.service.spec.ts rename to api/test/unit/services/ami-chart.service.spec.ts diff --git a/backend_new/test/unit/services/app.service.spec.ts b/api/test/unit/services/app.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/app.service.spec.ts rename to api/test/unit/services/app.service.spec.ts diff --git a/backend_new/test/unit/services/application-csv-export.service.spec.ts b/api/test/unit/services/application-csv-export.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/application-csv-export.service.spec.ts rename to api/test/unit/services/application-csv-export.service.spec.ts diff --git a/backend_new/test/unit/services/application-flagged-set.service.spec.ts b/api/test/unit/services/application-flagged-set.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/application-flagged-set.service.spec.ts rename to api/test/unit/services/application-flagged-set.service.spec.ts diff --git a/backend_new/test/unit/services/application.service.spec.ts b/api/test/unit/services/application.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/application.service.spec.ts rename to api/test/unit/services/application.service.spec.ts diff --git a/backend_new/test/unit/services/asset.service.spec.ts b/api/test/unit/services/asset.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/asset.service.spec.ts rename to api/test/unit/services/asset.service.spec.ts diff --git a/backend_new/test/unit/services/auth.service.spec.ts b/api/test/unit/services/auth.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/auth.service.spec.ts rename to api/test/unit/services/auth.service.spec.ts diff --git a/backend_new/test/unit/services/email.service.spec.ts b/api/test/unit/services/email.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/email.service.spec.ts rename to api/test/unit/services/email.service.spec.ts diff --git a/backend_new/test/unit/services/geocoding.service.spec.ts b/api/test/unit/services/geocoding.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/geocoding.service.spec.ts rename to api/test/unit/services/geocoding.service.spec.ts diff --git a/backend_new/test/unit/services/jurisdiction.service.spec.ts b/api/test/unit/services/jurisdiction.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/jurisdiction.service.spec.ts rename to api/test/unit/services/jurisdiction.service.spec.ts diff --git a/backend_new/test/unit/services/listing.service.spec.ts b/api/test/unit/services/listing.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/listing.service.spec.ts rename to api/test/unit/services/listing.service.spec.ts diff --git a/backend_new/test/unit/services/multiselect-question.service.spec.ts b/api/test/unit/services/multiselect-question.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/multiselect-question.service.spec.ts rename to api/test/unit/services/multiselect-question.service.spec.ts diff --git a/backend_new/test/unit/services/permission.service.spec.ts b/api/test/unit/services/permission.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/permission.service.spec.ts rename to api/test/unit/services/permission.service.spec.ts diff --git a/backend_new/test/unit/services/reserved-community-type.service.spec.ts b/api/test/unit/services/reserved-community-type.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/reserved-community-type.service.spec.ts rename to api/test/unit/services/reserved-community-type.service.spec.ts diff --git a/backend_new/test/unit/services/translation.service.spec.ts b/api/test/unit/services/translation.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/translation.service.spec.ts rename to api/test/unit/services/translation.service.spec.ts diff --git a/backend_new/test/unit/services/unit-accessibility-priority-type.service.spec.ts b/api/test/unit/services/unit-accessibility-priority-type.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/unit-accessibility-priority-type.service.spec.ts rename to api/test/unit/services/unit-accessibility-priority-type.service.spec.ts diff --git a/backend_new/test/unit/services/unit-rent-type.service.spec.ts b/api/test/unit/services/unit-rent-type.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/unit-rent-type.service.spec.ts rename to api/test/unit/services/unit-rent-type.service.spec.ts diff --git a/backend_new/test/unit/services/unit-type.service.spec.ts b/api/test/unit/services/unit-type.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/unit-type.service.spec.ts rename to api/test/unit/services/unit-type.service.spec.ts diff --git a/backend_new/test/unit/services/user.service.spec.ts b/api/test/unit/services/user.service.spec.ts similarity index 100% rename from backend_new/test/unit/services/user.service.spec.ts rename to api/test/unit/services/user.service.spec.ts diff --git a/backend_new/test/unit/utilities/build-filter.spec.ts b/api/test/unit/utilities/build-filter.spec.ts similarity index 100% rename from backend_new/test/unit/utilities/build-filter.spec.ts rename to api/test/unit/utilities/build-filter.spec.ts diff --git a/backend_new/test/unit/utilities/build-order-by.spec.ts b/api/test/unit/utilities/build-order-by.spec.ts similarity index 100% rename from backend_new/test/unit/utilities/build-order-by.spec.ts rename to api/test/unit/utilities/build-order-by.spec.ts diff --git a/backend_new/test/unit/utilities/csv-builder.spec.ts b/api/test/unit/utilities/csv-builder.spec.ts similarity index 100% rename from backend_new/test/unit/utilities/csv-builder.spec.ts rename to api/test/unit/utilities/csv-builder.spec.ts diff --git a/backend_new/test/unit/utilities/deep-find.spec.ts b/api/test/unit/utilities/deep-find.spec.ts similarity index 100% rename from backend_new/test/unit/utilities/deep-find.spec.ts rename to api/test/unit/utilities/deep-find.spec.ts diff --git a/backend_new/test/unit/utilities/listing-url-slug.spec.ts b/api/test/unit/utilities/listing-url-slug.spec.ts similarity index 100% rename from backend_new/test/unit/utilities/listing-url-slug.spec.ts rename to api/test/unit/utilities/listing-url-slug.spec.ts diff --git a/backend_new/test/unit/utilities/order-by-validator.spec.ts b/api/test/unit/utilities/order-by-validator.spec.ts similarity index 100% rename from backend_new/test/unit/utilities/order-by-validator.spec.ts rename to api/test/unit/utilities/order-by-validator.spec.ts diff --git a/backend_new/test/unit/utilities/pagination-helpers.spec.ts b/api/test/unit/utilities/pagination-helpers.spec.ts similarity index 100% rename from backend_new/test/unit/utilities/pagination-helpers.spec.ts rename to api/test/unit/utilities/pagination-helpers.spec.ts diff --git a/backend_new/test/unit/utilities/password-helper.spec.ts b/api/test/unit/utilities/password-helper.spec.ts similarity index 100% rename from backend_new/test/unit/utilities/password-helper.spec.ts rename to api/test/unit/utilities/password-helper.spec.ts diff --git a/backend_new/test/unit/utilities/password-regex.spec.ts b/api/test/unit/utilities/password-regex.spec.ts similarity index 100% rename from backend_new/test/unit/utilities/password-regex.spec.ts rename to api/test/unit/utilities/password-regex.spec.ts diff --git a/backend_new/test/unit/utilities/unit-utilities.spec.ts b/api/test/unit/utilities/unit-utilities.spec.ts similarity index 100% rename from backend_new/test/unit/utilities/unit-utilities.spec.ts rename to api/test/unit/utilities/unit-utilities.spec.ts diff --git a/backend_new/tsconfig.build.json b/api/tsconfig.build.json similarity index 100% rename from backend_new/tsconfig.build.json rename to api/tsconfig.build.json diff --git a/backend_new/tsconfig.json b/api/tsconfig.json similarity index 100% rename from backend_new/tsconfig.json rename to api/tsconfig.json diff --git a/backend_new/yarn.lock b/api/yarn.lock similarity index 100% rename from backend_new/yarn.lock rename to api/yarn.lock diff --git a/backend_new/src/temp/.gitkeep b/backend_new/src/temp/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/package.json b/package.json index 1ad987daa6..0795b81a36 100644 --- a/package.json +++ b/package.json @@ -37,8 +37,8 @@ "test:app:partners:headless": "wait-on \"http-get://localhost:${PORT:-3100}/listings\" && cd sites/partners && yarn test:headless", "test:app:partners:unit": "cd sites/partners && yarn test:unit", "build:app:partners": "cd sites/partners && yarn build", - "dev:backend": "cd backend/core && yarn dev", - "dev:all": "concurrently --names \" BACKEND_CORE,APP_PUBLIC,APP_PARTNERS\" --prefix \"{name}\" \"yarn dev:backend\" \"yarn dev:app:public\" \"yarn dev:app:partners\"", + "dev:backend": "cd api && yarn dev", + "dev:all": "concurrently --names \" BACKEND_API,APP_PUBLIC,APP_PARTNERS\" --prefix \"{name}\" \"yarn dev:backend\" \"yarn dev:app:public\" \"yarn dev:app:partners\"", "dev:frontend": "concurrently --names \" APP_PUBLIC,APP_PARTNERS\" --prefix \"{name}\" \"yarn dev:app:public\" \"yarn dev:app:partners\"", "dev:partners": "concurrently \"yarn dev:backend\" \"yarn dev:app:partners\"", "dev:public": "concurrently \"yarn dev:backend\" \"yarn dev:app:public\"", @@ -48,14 +48,14 @@ "test:e2e:backend:core": "cd backend/core && yarn test:e2e", "test:apps": "concurrently \"yarn dev:backend\" \"yarn test:app:public\"", "test:apps:headless": "concurrently \"yarn dev:backend\" \"yarn test:app:public:headless\"", - "lint": "eslint '**/*.ts' '**/*.tsx' '**/*.js' && cd backend_new && yarn lint", + "lint": "eslint '**/*.ts' '**/*.tsx' '**/*.js' && cd api && yarn lint", "version:all": "lerna version --yes --no-commit-hooks --ignore-scripts --conventional-graduate --include-merged-tags --force-git-tag", - "test:backend:new": "cd backend_new && yarn test --detectOpenHandles", - "test:backend:new:e2e": "cd backend_new && yarn jest --config ./test/jest-e2e.config.js --detectOpenHandles", - "test:backend:new:cov": "cd backend_new && yarn jest --config ./test/jest-with-coverage.config.js --detectOpenHandles --logHeapUsage", - "test:backend:new:dbsetup": "cd backend_new && yarn db:migration:run", - "test:backend:new:dbsetup:withseed": "cd backend_new && yarn db:migration:run && yarn db:seed:staging --jurisdictionName Bloomington", - "backend:new:install": "cd backend_new && yarn install", + "test:backend:new": "cd api && yarn test --detectOpenHandles", + "test:backend:new:e2e": "cd api && yarn jest --config ./test/jest-e2e.config.js --detectOpenHandles", + "test:backend:new:cov": "cd api && yarn jest --config ./test/jest-with-coverage.config.js --detectOpenHandles --logHeapUsage", + "test:backend:new:dbsetup": "cd api && yarn db:migration:run", + "test:backend:new:dbsetup:withseed": "cd api && yarn db:migration:run && yarn db:seed:staging --jurisdictionName Bloomington", + "backend:new:install": "cd api && yarn install", "prettier": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\"" }, "devDependencies": { diff --git a/sites/partners/package.json b/sites/partners/package.json index acf12c7cfc..5b4405b815 100644 --- a/sites/partners/package.json +++ b/sites/partners/package.json @@ -20,7 +20,7 @@ "export": "next export", "start": "next start -p ${NEXTJS_PORT:-3001}", "dev:listings": "cd ../../backend/core && yarn dev", - "dev:new-backend": "cd ../../backend_new && yarn dev", + "dev:new-backend": "cd ../../api && yarn dev", "dev:server-wait": "wait-on \"http-get://localhost:${PORT:-3100}/listings\" && yarn dev", "dev:server-wait-new": "wait-on \"http-get://localhost:3100/listings\"", "dev:all": "concurrently \"yarn dev:listings\" \"yarn dev:server-wait\"", diff --git a/sites/public/package.json b/sites/public/package.json index 9be52bc963..f6aa38b0fb 100644 --- a/sites/public/package.json +++ b/sites/public/package.json @@ -20,7 +20,7 @@ "start": "next start -p ${NEXTJS_PORT:-3000}", "test:backend:core:dbsetup": "cd ../../ && yarn test:backend:core:dbsetup", "dev:listings": "cd ../../backend/core && yarn dev", - "dev:new-backend": "cd ../../backend_new && yarn dev", + "dev:new-backend": "cd ../../api && yarn dev", "dev:server-wait": "wait-on \"http-get://localhost:${PORT:-3100}/listings\" --httpTimeout 60000 --tcpTimeout 1500 -v --interval 15000 && yarn dev", "dev:server-wait-new": "wait-on \"http-get://localhost:3100/listings\"", "dev:server-wait-cypress": "wait-on \"http-get://localhost:${PORT:-3100}/listings\" --httpTimeout 60000 --tcpTimeout 1500 -v --interval 15000 && yarn build && yarn start",