backend/research.md
2020-03-21 22:54:05 +00:00

842 B

Proposed Tech stack

  • NodeJS
  • Express
  • Postgresql
  • Luxon

Database architecture

See: https://dbdiagram.io/d/5e769ab14495b02c3b88936f

How to deal with date and time in PostgreSQL?

  • use datetime datatype without timezone (datetime with timezone is using offset, which doesn't work well with DST)
  • store datetime in UTC
  • add timezone information separately, use Full time zone name (human friendly)
  • use ISO 8601 format, which is human friendly to read and supported by every library

See:

Inspiration