Added /users/me route, and handling auth in frontend
This commit is contained in:
10
frontend/interfaces/IUser.ts
Normal file
10
frontend/interfaces/IUser.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
export default interface IUser {
|
||||
userId: string;
|
||||
firstname: string;
|
||||
lastname: string;
|
||||
email: string;
|
||||
phone: string;
|
||||
role: string;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
}
|
||||
Reference in New Issue
Block a user