Danny Coates c146c584f6 static require cryptofill for Edge 6 years ago
..
bin 3df32e2a22 removed /download from android routes in dev.js since it has no ui 6 years ago
middleware 7ccf462bf8 implemented PKCE auth (#921) 6 years ago
routes c146c584f6 static require cryptofill for Edge 6 years ago
storage 7f1ce41d9c disable validation and resumable for gcs uploads 6 years ago
amplitude.js 5ce35a71ef added missing entrypoint to metrics 6 years ago
config.js 9b37e92a81 implemented amplitude metrics (#1141) 6 years ago
fxa.js 6cc12528b3 fixed some old TODOs 6 years ago
initScript.js 9b37e92a81 implemented amplitude metrics (#1141) 6 years ago
layout.js e5f9673521 added window.app for debugging 6 years ago
limiter.js af7a262ef0 refactored upload away from multipart forms to binary data 6 years ago
locale.js 1e62aa976d reimplemented l10n using dynamic import() (#1012) 6 years ago
log.js 53e822964e a few changes to make A/B testing easier 7 years ago
metadata.js 3fd2537311 refactored server 7 years ago
readme.md 18e1609cb3 updated docs 7 years ago
state.js c585c34c01 use one Archive instance for state.archive 6 years ago

readme.md

Server Code

The server provides the API, serves static assets, and renders the pages for Send. The production entrypoint is prod.js and the development entrypoint is dev.js via webpack-dev-server.

Server configuration

config.js contains the schema for our configuration options. Environment variables are the preferred method for setting configuration.

Middleware

Contains authentication and localization middleware.

Routes

Contains all the server routes and handlers for the API and pages

Storage

Contains implementations of possible storage engines for the files and metadata