Skip to content

Conversation

@mariscalromeroalejandro
Copy link
Contributor

I have JIRA issue created

  • branch and/or PR name(s) includes JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected
  • FLP integration tests were ran successful

This is a major PR that refactors the backend to fully integrate the layouts database for layout management. Key changes include:

  • Layouts are now retrieved directly from the database instead of the db.json file.
  • Repositories are introduced to provide an interface for interacting with Sequelize models.
  • Business logic is encapsulated in services, which act as intermediaries between controllers and repositories.
  • Controllers are updated to work with the new services, ensuring a cleaner and more maintainable flow.
  • All validation logic has been moved to middleware, improving separation of concerns.
  • Relevant endpoints have been updated to align with the new data structure and services.
  • Tests added to cover both refactored and newly introduced code.
  • Seeders are included to simulate realistic data scenarios for dev/test purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants