Skip to content

Choose an ORM #25

Open
Open

Description

@fawcilize

An Object Relational Mapping (ORM) can help you abstract raw SQL away from the code so that services can work in a unified language. They also help protect from common vulnerabilities like injection attacks.

  • Investigate an ORM like sequelize/bookshelf/waterline/etc
    • Create a branch for each implementation. These branches should be persistent, and can be referenced later for a tutorial. I would suggest naming them like sample-sequelize and sample-knex
    • Document the decision in an architectural decision record (ADR)
  • Investigate a query-builder like knex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions