run.ts
as single entry pointshared/
folder server/ssr.tsx
--ssr=false
to disable SSRbun i
to install packagesbun run dev
provides hot reloads & source mapsbun run build
prepares production buildbun run prod
serves productionclient/
contains React UI codeshared/
folder contains shared interfaces, types, and functions that both client & server can useserver/
contains http & socket APIsserver/apis/http.ts
server/apis/sockets.ts