RWTH-Informatik-Korean / bagel

0 stars 3 forks source link

Create model card user#18 #22

Closed Tiggershine closed 1 year ago

Tiggershine commented 1 year ago

Model - Class card

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
  ){}
}
Tiggershine commented 1 year ago

네 로그인 방법이랑, 게시물 데이터베이스 저장 같은 내용을 목요일 다같이 얘기해서 보완해야 해요!!