Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autenticação #5

Open
gabrielwbenatti opened this issue Feb 25, 2025 · 0 comments
Open

Autenticação #5

gabrielwbenatti opened this issue Feb 25, 2025 · 0 comments

Comments

@gabrielwbenatti
Copy link
Owner

gabrielwbenatti commented Feb 25, 2025

Definição

Gerenciamento de autenticação. Deverá conter:

  • Login
  • Logout

Gravar no localStorage informações de teacher e user. Também deverá gravar informações da class selecionada em class-selection.

Modelos

model users {
  id       Int    @id @default(autoincrement())
  username String @db.VarChar(63)
  email    String @db.VarChar(127)
  password String @db.VarChar(255) 
}

model teachers {
  id          Int       @id @default(autoincrement())
  user_id     Int
  teach_since DateTime? @db.Date
  document    String?   @db.VarChar(63)
  first_name  String    @db.VarChar(255)
  last_name   String    @db.VarChar(255)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant