add login and logout feature
Showing
- client/src/api/auth.ts 16 additions, 0 deletionsclient/src/api/auth.ts
- client/src/api/user.ts 9 additions, 0 deletionsclient/src/api/user.ts
- client/src/components/StaffLayout.tsx 78 additions, 33 deletionsclient/src/components/StaffLayout.tsx
- client/src/pages/staff/StaffLogin.tsx 107 additions, 84 deletionsclient/src/pages/staff/StaffLogin.tsx
- server/src/controllers/auth.controllers.ts 18 additions, 1 deletionserver/src/controllers/auth.controllers.ts
- server/src/routes/auth.routes.ts 1 addition, 0 deletionsserver/src/routes/auth.routes.ts
Loading
Please register or sign in to comment