export class Card {
constructor(
cardId: string, // card id
userName: string, // user nickname
pictureUrl: string, // URL for user profile photo (optional)
category: string, // category of card
semester: string, // semester (type: Semester)
course: string, // name of course (type: Course)
title: string, // title of card
content: string, // content of card
){}
}
Model - Class user
// User Singup: Authentification via RWTH mail(Verification code sent and enter the code)
// User Login: Google Authentification(SocialAuthServiceConfig Module from Aungular)
export class User {
constructor(
userId: string, // user id
userkName: string, // userName: name showed on card / editable
email: string, // RWTH email(store after verify for sing up)
isSignedup: boolean // information required when logging in
){}
}
Model - Class card
Model - Class user // User Singup: Authentification via RWTH mail(Verification code sent and enter the code) // User Login: Google Authentification(SocialAuthServiceConfig Module from Aungular)