Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
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 <[email protected]>
@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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants