12 Commits

Author SHA1 Message Date
kushal-saha
d818c5f05d refactor(core): restructure chat models and services, integrate route-based chat IDs
- Updated `Chat` and `ChatMessage` models for new table structures with UUIDs and attributes.
- Integrated `ChatPolicy` for authorization checks.
- Updated `ChatMessageController` with authorization and refined logic.
- Adjusted routes and state in the frontend to handle chat IDs from the URL.
- Enhanced `SocialMediaService` for handling chat-specific user prompts.
- Removed unused migrations related to chats and chat messages.
2026-04-29 15:36:56 +00:00
kushal-saha
6bd105632a refactor(core): extract validation logic into a Signal Factory
- Created getFormValidationErrors to get formatted angular form errors
- Implemented getMergedValidationErrors factory to unify local and server errors.
- Simplified Login component by using the new reusable utility.
- Implemented validation errors in register form
2026-04-29 06:03:00 +00:00
kushal-saha
8e2ced8bed Implement new JSON:API Resource for the api responses.
Implement Authentication States, show logout options in auth store and services.
Make DB and controllers to make messages grouped by chats.
Refactor backend code to use DTO.
2026-04-28 12:38:46 +00:00
kushal-saha
66e858e386 feature: Fix Foritify error, implement logput on frontend. persist authentication on accross app 2026-04-28 05:25:06 +00:00
kushal-saha
19a05a1a5b feature: authentication using fortify and sanctum's cookie based SPA authentication 2026-04-27 05:39:09 +00:00
kushal-saha
b538bf8fee refactor: Move post generation to SocialMediaService 2026-04-27 05:04:04 +00:00
kushal-saha
9c070e0f5c refactor: follow latest component naming 2026-04-24 11:52:45 +00:00
kushal-saha
fa144db010 add ui 2026-04-24 09:34:18 +00:00
kushal-saha
5631bc3a3a feature: backend - create post and image prompt bases on user prompt 2026-04-24 08:33:56 +00:00
kushal-saha
265a134658 deps: laravel ai sdk 2026-04-24 06:25:45 +00:00
kushal-saha
0b776016d4 deps: sanctum 2026-04-24 06:17:33 +00:00
kushal-saha
246362a574 init frontend and backend 2026-04-24 05:35:01 +00:00