38 Commits

Author SHA1 Message Date
kusowl
2b99d43f53 Merge branch 'feature/products' 2026-03-02 19:05:55 +05:30
kusowl
194424bfb2 Merge branch 'backend' 2026-03-02 19:05:39 +05:30
kusowl
3db5c079b9 chore: add slug in products, fix image upload and product responses 2026-03-02 18:48:31 +05:30
kusowl
f5393f5110 feature: show products on the home page and add individual product page 2026-03-02 18:47:43 +05:30
kusowl
2e16d92fdd fix: product images are not stored in public storage 2026-03-02 14:22:17 +05:30
kusowl
068975d3b0 Merge branch 'backend' 2026-02-27 18:22:36 +05:30
kusowl
a34bea34d4 Merge branch 'feature/add-product' 2026-02-27 18:17:35 +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
8b1b831ea2 feature: authorization - add role guard and protect products route 2026-02-27 13:22: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
617053c0ee feature: upload images and show alert after successfull product creation 2026-02-26 19:02:39 +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
bb05fb7747 feature: add product page
- add UI
- add dialog for preview selected images
2026-02-25 19:04:00 +05:30
kusowl
03525280db Merge branch 'feature/main/login' 2026-02-24 18:49:45 +05:30
kusowl
6e2fd45803 Merge branch 'backend' 2026-02-24 18:49:33 +05:30
kusowl
6419adb7d1 add logout feature 2026-02-24 18:15:47 +05:30
kusowl
4a4c8bd4e3 feature: user logout and auth states
added s authState which helps conditonaly render components based on this state

stored user details in localStoarge so that server side end point does not get hit in every page load.

add a guard which protects routes and redirects to login if user is not logged in.

create a logout route
2026-02-24 18:14:21 +05:30
kusowl
043d54bcd0 user can login via frontend 2026-02-23 18:53:54 +05:30
kusowl
0427d1c62d feature: user can login to backend 2026-02-23 18:46:23 +05:30
kusowl
94da4e9f6a feature: login via sanctum 2026-02-23 18:45:56 +05:30
kusowl
aee7e4fd89 navigate user after successful registration.
- data is passed via state
2026-02-23 16:10:59 +05:30
kusowl
4aba99fcb5 chore: format 2026-02-23 15:08:06 +05:30
kusowl
78bf326622 add client side validation errors 2026-02-23 15:07:43 +05:30
kusowl
77532aaac2 Show server side validation errors 2026-02-23 12:17:14 +05:30
kusowl
2ca605feb4 connect backend for user registration 2026-02-20 18:40:48 +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
kusowl
c3be527b12 feature - add register page 2026-02-19 18:20:43 +05:30
kusowl
bfd487b05c refactor: add auth feature to encolse both login and register components 2026-02-19 17:25:23 +05:30
kusowl
32f5be8ff0 fix: responsivness of login card 2026-02-19 16:59:14 +05:30
kusowl
c42c64ae2d feature - add user menu in header 2026-02-19 16:52:38 +05:30
kusowl
4d5cb9791b feature: login page
- add login page design
- use card class instead on card component
- add button press animations
2026-02-19 14:19:21 +05:30
kusowl
5210292590 chore: add oxfmt as formatter 2026-02-19 12:06:30 +05:30
kusowl
91ab8962a0 Add routing conifguration and default login page 2026-02-19 12:02:47 +05:30
kusowl
2ed7cc7b86 Refactor: Header and Footer Links
- add searchbar, account and cart icon in navbar
- add navgiation links in footer
- make the text bigger in footer
2026-02-19 11:33:07 +05:30
kusowl
76754801bd initial ui 2026-02-19 10:24:26 +05:30
kusowl
635beab890 initial commit 2026-02-18 12:25:06 +05:30