Danny Coates 7ccf462bf8 implemented PKCE auth (#921) 6 лет назад
..
bin 20528eb0d1 added ANDROID environment variable to dev server for hosting the android html 6 лет назад
middleware 7ccf462bf8 implemented PKCE auth (#921) 6 лет назад
routes 7ccf462bf8 implemented PKCE auth (#921) 6 лет назад
storage b89bef6e89 refactor to single bucket 6 лет назад
config.js 7ccf462bf8 implemented PKCE auth (#921) 6 лет назад
fxa.js 7ccf462bf8 implemented PKCE auth (#921) 6 лет назад
initScript.js 7ccf462bf8 implemented PKCE auth (#921) 6 лет назад
layout.js 718d74fa50 Implemented FxA 6 лет назад
limiter.js af7a262ef0 refactored upload away from multipart forms to binary data 6 лет назад
log.js 53e822964e a few changes to make A/B testing easier 7 лет назад
metadata.js 3fd2537311 refactored server 7 лет назад
readme.md 18e1609cb3 updated docs 7 лет назад
state.js 7ccf462bf8 implemented PKCE auth (#921) 6 лет назад
streamparser.js 126ea8c7e6 use a Duplex stream for EOF 6 лет назад

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