80 Commits

Author SHA1 Message Date
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