Skip to content
Samuel Ainsworth edited this page Nov 28, 2021 · 30 revisions

Welcome to the cuddlefish wiki!

As much as possible we try to 1-index line number in the backend and hasura. VSCode OTOH uses 0-indexed line numbers.

TODO

Issues

Dev port mapping

  • 3000: CRA web frontend (legacy?)
  • 3001: rust api
  • 3002: next.js
  • 5432: postgres
  • 8080: hasura
  • 9695: dev hasura console
  • 11111: prod hasura console

Email service choices

Backend engineering choices

Rust

Typescript

  • Pro: type system is impressively strong, yet flexible
  • Pro: good library ecosystem
  • Con: errors in Promises can be silently lost
  • Con: graphql type codegen is shockingly still not that great. Apollo's codegen doesn't seem to be very well supported these days. graphql-code-generator is not perfect either (https://github.com/dotansimha/graphql-code-generator/issues/6916).
Clone this wiki locally