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

feat: support users and logins #42

Merged
merged 31 commits into from
Jul 4, 2023
Merged

Conversation

jmcdo29
Copy link
Owner

@jmcdo29 jmcdo29 commented Jul 4, 2023

There's honestly a lot of features in this PR. A ZodValidationPipe, a ServerHashModule and service, a base32 library that holds the valid values for a base32 string and a regex for a ulid (should be renamed), e2e tests has been updated so that migrations run for the test database before the tests are ran, the e2e tests are now ran through vitest (uvu should be fully removed soon), the binding of interceptors and filters has been moved to the RootModule to better manage when they get used, and finally, user signup and login is now functional as well.

I should still verify that the cookies are sent back properly with the necessary information, if any, but the session that should be created is indeed updated in the Redis database after signup, so it should all be functional as is

vitest has better general support, uvu seems to be unmaintained, and
vitest support using a separate file for e2e describe suites, meaning
I can have better code separation for how these tests should be written
and maintained, win-win.
While these technically do relate to logging, the logging module is related
to _all_ applications rather than just the http side
so this allows for the cli app(s) to startup without issue
Implementation to follow
@nx-cloud
Copy link

nx-cloud bot commented Jul 4, 2023

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 8170c68. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


🟥 Failed Commands
nx affected -t e2e --parallel --configuration=ci
✅ Successfully ran 2 targets

Sent with 💌 from NxCloud.

@jmcdo29 jmcdo29 merged commit 80ca1c7 into main Jul 4, 2023
9 checks passed
@jmcdo29 jmcdo29 deleted the feat/support-users-and-logins branch July 4, 2023 18:59
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.

None yet

1 participant