Skip to content

SQL saving to Database#33

Merged
Prakhar896 merged 6 commits intomainfrom
nicholas
Jul 5, 2024
Merged

SQL saving to Database#33
Prakhar896 merged 6 commits intomainfrom
nicholas

Conversation

@nicholascheww
Copy link
Copy Markdown
Contributor

What was done since the last PR:
-Stopped using cache for chat data
-Changed to saving chat messages to SQL Database
-Edited the models for ChatMessages
-Edit message saved into SQL Database
-Delete messaged saved into SQL Database

@nicholascheww nicholascheww requested a review from Prakhar896 June 30, 2024 01:08
@nicholascheww nicholascheww self-assigned this Jun 30, 2024
Copy link
Copy Markdown
Contributor

@Prakhar896 Prakhar896 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rename your PR and see comments. I don't see proper error handling too, frontend is not being informed of errors that are occurring and hence the user might find the frontend less usable.

Comment thread models/ChatMessage.js Outdated
Comment thread models/ChatMessage.js Outdated
Comment thread routes/chat/WebSocketServer.js Outdated
Comment thread routes/chat/WebSocketServer.js
Comment thread routes/chat/WebSocketServer.js Outdated
Comment thread routes/chat/WebSocketServer.js Outdated
Comment thread routes/chat/WebSocketServer.js
Comment thread routes/chat/WebSocketServer.js
@nicholascheww nicholascheww changed the title Sync Up PR Nicholas SQL saving to Database Jul 5, 2024
@nicholascheww nicholascheww requested a review from Prakhar896 July 5, 2024 05:59
Copy link
Copy Markdown
Contributor

@Prakhar896 Prakhar896 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 😭

@Prakhar896 Prakhar896 merged commit 4192c96 into main Jul 5, 2024
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.

2 participants