20 Commits

Author SHA1 Message Date
kusowl
3ae3374eec chore: formatting
- updated format via pint
2026-03-13 18:09:06 +05:30
kusowl
c27ae1969f feature: add address api
- users can save, edi and delete addresses
- each user can have multiple address
- used shallow routes for address
2026-03-13 18:08:45 +05:30
kusowl
61ecbec994 chore: add command to generate dto
- add make:dto command which generates dto in App\Data namespace
- varient: --input (default), --output
2026-03-13 11:28:22 +05:30
kusowl
03f044b8d3 chore: add ide helper
- add laravel ide helper package for better LSP support
- update dependencies
2026-03-13 10:08:55 +05:30
kusowl
5bbec0ee2b feature: update quantity and remove product from cart
add endpoint for update quantity of products (min:1, max:10)
add endpoint for removing product from cart
2026-03-10 19:01:52 +05:30
kusowl
1656739ecd feature: add and fetch products in cart api
- schema for cart and product
- define relationship, DTO, Resource and API collections
- Add post and get endpoint for cart api
2026-03-09 19:07:27 +05:30
kusowl
95afd46406 fix: add isFavorite on Product show response 2026-03-05 18:07:46 +05:30
kusowl
0f56303d59 fix sanctum and session environment variables 2026-03-05 14:43:21 +05:30
kusowl
ae008fbc9c chore: add isFavorite in produtcs response
- refactor code to use query
- add active column in products
2026-03-05 13:32:49 +05:30
kusowl
8ef4383bd9 feature: endpoint to favorite product 2026-03-05 10:32:40 +05:30
kusowl
3db5c079b9 chore: add slug in products, fix image upload and product responses 2026-03-02 18:48:31 +05:30
kusowl
2e16d92fdd fix: product images are not stored in public storage 2026-03-02 14:22:17 +05:30
kusowl
920666c201 feature: add index endpoint for products
- implement DTO for product and modify productImageDTO.
- add products resources and collection.
2026-02-27 18:16:02 +05:30
kusowl
aef951f71d feature: authorization -add roles column in users 2026-02-27 13:20:55 +05:30
kusowl
684b7585bb feature: product creation and image upload
create image upload endpoint
create product creation endpoint
create get product categories endpoint
2026-02-26 19:03:41 +05:30
kusowl
30bc4a0cf3 chore: add command to generate actions
use `artisan make:action <name>` to generate final & readonly php class with execute method.
2026-02-26 16:05:03 +05:30
kusowl
6419adb7d1 add logout feature 2026-02-24 18:15:47 +05:30
kusowl
94da4e9f6a feature: login via sanctum 2026-02-23 18:45:56 +05:30
kusowl
4397f91b65 feature: api for user registration 2026-02-20 13:11:25 +05:30
kusowl
138a0ba4bf add laravel backend 2026-02-19 18:51:28 +05:30