send/app
2019-03-07 15:25:28 -08:00
..
ui fixed legal page links. closes #1206 2019-03-07 15:25:28 -08:00
.eslintrc.yml
api.js
archive.js
capabilities.js
controller.js clear settings after removing last file from wip 2019-03-06 10:43:58 -08:00
dragManager.js
ece.js fixed size limit on server to include crypto overhead 2019-03-06 10:31:50 -08:00
experiments.js
fileReceiver.js
fileSender.js fixed size limit on server to include crypto overhead 2019-03-06 10:31:50 -08:00
fxa.js
keychain.js
locale.js
main.css
main.js
metrics.js utms for everybody 2019-03-05 12:58:40 -08:00
ownedFile.js
pasteManager.js
readme.md
routes.js
serviceWorker.js
storage.js
streams.js
user.js use fxa email-first flow 2019-03-07 12:08:42 -08:00
utils.js fixed size limit on server to include crypto overhead 2019-03-06 10:31:50 -08:00
zip.js

Application Code

app/ contains the browser code that gets bundled into app.[hash].js. It's got all the logic, crypto, and UI. All of it gets used in the browser, and some of it by the server for server side rendering.

The main entrypoint for the browser is main.js and on the server routes/index.js gets imported by /server/routes/pages.js

  • pages contains display logic an markup for pages
  • routes contains route definitions and logic
  • templates contains ui elements smaller than pages