8 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
bb05fb7747 feature: add product page
- add UI
- add dialog for preview selected images
2026-02-25 19:04:00 +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
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
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
635beab890 initial commit 2026-02-18 12:25:06 +05:30