send/app
2018-11-16 12:32:32 -08:00
..
ui don't render expired uploads 2018-11-16 12:30:15 -08:00
.eslintrc.yml
api.js
archive.js
capabilities.js
controller.js
dragManager.js
ece.js
experiments.js
fileReceiver.js
fileSender.js
fxa.js
keychain.js
main.css
main.js converting some things to choo/component 2018-11-15 15:43:32 -08:00
metrics.js
ownedFile.js
pasteManager.js
readme.md
routes.js converting some things to choo/component 2018-11-15 15:43:32 -08:00
serviceWorker.js delete old service worker caches 2018-11-16 12:32:32 -08:00
storage.js
streams.js
user.js
utils.js don't render expired uploads 2018-11-16 12:30:15 -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