Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Added Prisma ORM and User Entity #76

Merged
merged 1 commit into from
Apr 4, 2024
Merged

Added Prisma ORM and User Entity #76

merged 1 commit into from
Apr 4, 2024

Conversation

henrybrink
Copy link
Collaborator

This adds an initial configuration for the Prisma ORM.
It contains the user entity and a migration which creates a single database table for the user.

There will be further documentation added later to the project which will contain examples on how to repositories should be build, how they should be tested and other guidelines, but this is still an early verification phase.

@henrybrink henrybrink requested a review from benedictweis April 2, 2024 17:57
@henrybrink
Copy link
Collaborator Author

I adjusted some coverage configuration with this PR because:

  • Some files are not relevant for the application, but only for manual testing (seeding currently)
  • Some files cannot be tested easily (main.ts, as this should normally not be changed, it is okay to not have a unit test for now)

I also decreased the required branch / function coverage, as there may be cases where we cannot really test some functions and as this is counted as global coverage it very fast fails. 80% should be better reachable, and considering the project environment it is okay.

Signed-off-by: Henry Brink <henry@henrybrink.de>
@benedictweis
Copy link
Contributor

Thank you!

@benedictweis benedictweis merged commit 399c00c into main Apr 4, 2024
2 checks passed
@benedictweis benedictweis deleted the dev/prisma-osm branch June 19, 2024 07:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants