Skip to content

Latest commit

 

History

History
22 lines (11 loc) · 516 Bytes

steps.md

File metadata and controls

22 lines (11 loc) · 516 Bytes
  • Create CRUD for a Profile (show that is use Prisma because of rich context)

  • DB Schema is already set use this schema to create Profile entity

  • Make Profile entity with tests

  • Make a Regex for email in Profile

  • Make repository interface and implementation

  • Make the controller

  • Refactor date-range.ts:

  • Generate a test as a security filter and expect withLocalDateString

  • Extract switch cases into enum

  • Change switch to map using an interface

  • Note that null case is not handle, so handle it