forked from fastapi/full-stack-fastapi-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Setup/core services revamp #6
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
coding-sunshine
merged 37 commits into
OrganyzAI:master
from
azzi2023:setup/core-services-revamp
Dec 19, 2025
Merged
Setup/core services revamp #6
coding-sunshine
merged 37 commits into
OrganyzAI:master
from
azzi2023:setup/core-services-revamp
Dec 19, 2025
Conversation
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
- Added Redis client and caching service - Integrated Redis into application startup and shutdown events - Introduced rate limiting and request logging middlewares - Updated Docker configuration to include Redis service - Enhanced error handling and response formatting
- Introduced `docker-compose.override.test-dev.yml` for local development services including backend, frontend, database, and mailcatcher. - Created `docker-compose.test-dev.yml` for a complete test environment setup with health checks and Redis service. - Updated main `docker-compose.yml` to use a custom PostgreSQL image with pgvector support. - Enhanced README with instructions for PostgreSQL 18 and background task management using Celery and Redis. - Added Cloudflare R2 integration for S3-compatible storage. - Implemented new Celery worker and task management structure.
- Removed Traefik network and related labels from `docker-compose.override.test-dev.yml`, `docker-compose.override.yml`, and `docker-compose.test-dev.yml` to simplify local development setup. - Introduced a new `dockercompose-dev.yml` for streamlined development services. - Added WebSocket infrastructure with a dedicated manager and endpoint for real-time communication using Redis. - Updated startup and shutdown events in the backend to manage WebSocket connections. - Created scripts for easier Docker Compose command execution with the new configurations.
Feat/redis cache middleware
Setup/core services revamp
- Deleted test files for private user routes and user routes as they are no longer needed. - Updated imports in the test configuration to reflect the new module structure. - Refactored user-related tests to use the new auth service. - Added new tests for WebSocket functionality and Redis client. - Introduced unit tests for cache service and middlewares. - Removed unused utility functions related to item and user creation. - Deleted outdated development documentation and configuration files.
…ackend into setup/core-services-revamp
…n, and improve rate limiting middleware
- Deleted signup component and its associated tests. - Removed login tests and related utilities. - Eliminated password reset tests and utilities. - Cleaned up unused utility functions and configurations. - Removed TypeScript configuration files and Vite configuration.
…kend-only architecture
…d robust error handling
… add health-check endpoint
- Updated environment configuration for local development. - Refined GitHub workflows for testing with coverage. - Implemented a lifespan context manager in FastAPI for Redis and WebSocket management. - Improved exception handling with custom handlers for various error types. - Refactored user authentication and registration schemas for better clarity and validation. - Enhanced Redis client integration and updated related services. - Cleaned up middleware and response handling for improved performance and maintainability.
…cies in backend container
…endencies and ensure coverage is available in the backend container
…d websocket management
…d improve test utilities
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
duplicate
This issue or pull request already exists
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
invalid
This doesn't seem right
question
Further information is requested
wontfix
This will not be worked on
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.




No description provided.