Skip to content
This repository was archived by the owner on Jun 5, 2023. It is now read-only.

Backend

Bartek edited this page Mar 27, 2023 · 4 revisions

Todo


USER:

Validation

(Firebase Auth - By Email)

Username:

  • min length: 3
  • max length: 50
  • valid chars: a-Z 0-9 (-_@.)
  • check if username is unique

Email:

  • min length: 5
  • max length: 100
  • valid chars: a-Z 0-9 (-_.) (only one @) (min one .)
  • check if email is unique

Password:

  • min length: 8
  • max length: 100
  • password == rpassword
  • password strong level: special chars, small big letters, numbers, length
  • hash password (SHA-512)

EVENT:

  • name
  • description
  • creator uid
  • group of users
  • list of expenses

expense

  • uniqe id
  • creator
  • name
  • description
  • cost
  • type
Clone this wiki locally