feat: add department dashboard

This commit is contained in:
ARJUN S THAMPI
2026-03-16 17:55:33 +05:30
parent aaa62ae3f5
commit 46bbd8106b
23 changed files with 1621 additions and 684 deletions

12
frontend/src/api/auth.ts Normal file
View File

@@ -0,0 +1,12 @@
import apiClient from "./client";
export const loginApi = async (
username: string,
password: string,
): Promise<any> => {
const response = await apiClient.post("/auth/login/", {
username,
password,
});
return response.data;
};