Commit graph

7 commits

Author SHA1 Message Date
18582c1fdc chore: add Keyv package for improved caching and key-value storage
- Added Keyv package (v5.3.1) to package.json for flexible key-value storage
- Updated package-lock.json with Keyv and related dependencies
- Simplified Dockerfile dependency management
- Removed unnecessary buffer and readable-stream package duplicates
2025-03-10 09:10:17 -05:00
4d4de411f2 chore: optimize package dependencies and Dockerfile
- Removed duplicate glob package entries in package-lock.json
- Added node-prune to Dockerfile to remove unused node_modules files
- Copied turbo.json to runner stage for improved build consistency
- Simplified Dockerfile dependency management
2025-03-10 08:09:51 -05:00
d29d116214 feat: enhance authentication and user management with token-based system
- Implemented robust token-based authentication with access and refresh tokens
- Added JWT token generation, verification, and rotation mechanisms
- Created services for token management, Memcached, and MinIO storage
- Enhanced user registration and login with device-specific tokens
- Added support for profile picture upload and management via MinIO
- Implemented secure password hashing with crypto
- Updated Prisma schema to support refresh tokens and profile picture storage
- Added GraphQL mutations for logout, token refresh, and profile picture handling
- Integrated environment configuration with Zod validation
- Improved error handling and authentication middleware
2025-03-09 22:34:57 -05:00
3d41e2cc42 feat: add emoji picker to chat room message input
- Integrated emoji-picker-element library for emoji selection
- Added emoji toggle button in message input container
- Implemented emoji picker show/hide functionality
- Created CSS styles for emoji picker positioning
- Added event handling for emoji selection and outside click
- Updated package.json to include emoji-picker-element dependency
- Modified Prisma schema to use TEXT type for message content
- Updated Prisma migration scripts to use dotenv for environment configuration
2025-03-07 00:41:25 -05:00
9a2e69921e chore: remove fastify-cli and related dependencies 2025-03-06 22:19:56 -05:00
6214b503bc Feature/Use fastify instead of express (#1)
- Replaced Apollo Server with Mercurius for GraphQL API
- Updated resolvers to use Mercurius-compatible GraphQL implementation
- Migrated from Express to Fastify for server framework
- Improved error handling with GraphQL error extensions
- Added Zod for environment variable validation
- Updated Prisma schema and migrations
- Configured CORS and WebSocket subscriptions
- Simplified GraphQL schema and resolver structure
- Enhanced type safety and code organization
- Replaced Apollo Server with Mercurius for GraphQL API
- Updated resolvers to use Mercurius-compatible GraphQL implementation
- Migrated from Express to Fastify for server framework
- Improved error handling with GraphQL error extensions
- Added Zod for environment variable validation
- Updated Prisma schema and migrations
- Configured CORS and WebSocket subscriptions
- Simplified GraphQL schema and resolver structure
- Enhanced type safety and code organization

Reviewed-on: #1
Co-authored-by: Jusemon <juansmm@outlook.com>
Co-committed-by: Jusemon <juansmm@outlook.com>
2025-03-06 19:15:56 -05:00
16731409df refactor: migrate from Next.js to SolidJS and GraphQL
- Converted web application from Next.js to SolidJS with Vite
- Replaced React components with SolidJS components
- Implemented GraphQL client using URQL
- Added authentication, room, and chat components
- Updated project structure and configuration files
- Removed unnecessary Next.js and docs-related files
- Added Docker support for web and API applications
2025-03-04 01:08:52 -05:00