send/app
2019-04-26 11:41:34 -07:00
..
ui added promo string to ftl & updated deps 2019-04-26 11:41:34 -07:00
.eslintrc.yml
api.js
archive.js
capabilities.js enable promo banner 2019-03-13 10:30:27 -07:00
controller.js
dragManager.js
ece.js
experiments.js
fileReceiver.js
fileSender.js
fxa.js
keychain.js removed old encryption key implementation 2019-04-11 10:24:29 -07:00
locale.js
main.css
main.js
metrics.js
ownedFile.js
pasteManager.js
readme.md
routes.js
serviceWorker.js
storage.js
streams.js
user.js fixed fxa entrypoint param name... 🤦‍♂️ 2019-03-21 09:30:13 -07:00
utils.js fixed isFile for extended file id size 2019-03-26 09:58:04 -07:00
zip.js fixed incorrect uncompressed size in zip 2019-03-16 09:19:28 -07:00

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