dev: skip Slack verification in development mode - #107
Open
joan-code6 wants to merge 3 commits into
Open
Conversation
Author
|
Sry for AI slop I just don't know how to formulate it goodly... It just bypasses the slack login when running through npm run dev and logs you instead in as a test user I did this bc when testing my moderation system I would have had to configure slack and it's just annoying |
Author
|
I'm sry 😔 |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request introduces a Docker Compose setup for local development and adds a development-only shortcut for authentication that creates a test user and session when running in a development environment. These changes streamline the development workflow by simplifying database setup and enabling quick login for developers.
Development environment improvements:
docker-compose.ymlfile to set up a local PostgreSQL instance with persistent storage and health checks, making it easier to run the app locally without manual database setup.Authentication enhancements for development:
/loginroute insrc/routes/auth.tsto automatically create and log in a test user with a session whenNODE_ENVis set todevelopment, bypassing the normal authentication flow for faster local testing.