-
Notifications
You must be signed in to change notification settings - Fork 0
Drizzle/BetterAuth/Storage rework #2
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
Merged
Merged
Changes from 12 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
9e72cf9
Refactor database structure and update services: replace Prisma with …
Rykuno 63e2671
Refactor storage and authentication services: replace Keyv Redis with…
Rykuno 11f1aee
Update environment configuration and enhance application structure: r…
Rykuno 5cf4962
Update dependencies and refactor authentication services: add @keyv/r…
Rykuno 00791b0
simplified better auth
Rykuno 2afc512
Refactor database integration: replace DatabaseTransactionClient with…
Rykuno ab0c3e3
update node version
Rykuno ab302da
Update @types/node version in pnpm-lock.yaml from 24.10.1 to 24.7.2 f…
Rykuno 21ec206
Update image alt text in CardExample component for improved accessibi…
Rykuno 884b355
Update turbo package version from 2.6.1 to 2.7.2 in package.json and …
Rykuno a143714
Update dependencies in package.json and pnpm-lock.yaml: upgrade @aws-…
Rykuno a26fda9
Remove OpenAPI definitions and add database migration for user, sessi…
Rykuno 18d90de
Refactor database schema and services: rename database schema files, …
Rykuno ebf0ed6
Add agent guidelines and update dependencies: Introduce AGENTS.md for…
Rykuno 5f231d6
Implement login functionality and enhance authentication flow: Add Lo…
Rykuno 067315b
Update OTP form: Remove hyperlink from 'Resend' text for improved cla…
Rykuno 413fec4
Refactor better-auth provider: Remove unused import for Provider to s…
Rykuno File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,23 @@ | ||
| # app | ||
| PORT=8000 | ||
| BASE_URL=http://localhost:8000 | ||
| NODE_ENV=development | ||
| APP_NAME=SojuStack | ||
| APP_PORT=8000 | ||
| APP_URL=http://localhost:8000 | ||
| APP_WEB_URL=http://localhost:3000 | ||
|
|
||
| # better-auth | ||
| # auth | ||
| AUTH_SECRET=CHANGE_THIS_FOR_PROD | ||
|
|
||
| # databases | ||
| POSTGRES_URL=postgres://postgres:postgres@localhost:5432/postgres | ||
| REDIS_URL=redis://localhost:6379 | ||
| # database | ||
| DATABASE_URL=postgres://postgres:postgres@localhost:5432/postgres | ||
|
|
||
| # cache | ||
| CACHE_URL=redis://localhost:6379 | ||
|
|
||
| EMAIL_DOMAIN=example.com | ||
| MAIL_DOMAIN=example.com | ||
|
|
||
| # storage | ||
| STORAGE_HOST=localhost | ||
| STORAGE_PORT=9000 | ||
| STORAGE_ACCESS_KEY=user | ||
| STORAGE_SECRET_KEY=password | ||
| STORAGE_URL=http://localhost:9000 | ||
| STORAGE_REGION=us-east-1 | ||
| STORAGE_ACCESS_KEY=admin | ||
| STORAGE_SECRET_KEY=admin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| $(AppService).getHello() | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| // @ts-nocheck | ||
| import 'dotenv/config'; | ||
| import { defineConfig } from 'drizzle-kit'; | ||
|
|
||
| export default defineConfig({ | ||
| dialect: 'postgresql', | ||
| schema: './src/databases/database.schema.ts', | ||
cursor[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| out: './src/databases/migrations', | ||
| dbCredentials: { | ||
| url: process.env['DATABASE_URL']!, | ||
| }, | ||
| }); | ||
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
REPL history file accidentally committed to repository
The
.nestjs_repl_historyfile is a local development artifact containing REPL command history. While it was added to.gitignore, the file itself was also committed to the repository. This file should be removed from tracking since it's user-specific development data and not intended to be shared.