Danny Coates ccbcb69666 Merge pull request #1434 from MichaelPeter-Shockoe/master 4 years ago
..
bin 807ecff471 updated sentry libs from raven to @sentry 5 years ago
middleware c80f9ada65 updated deps 5 years ago
routes ccbcb69666 Merge pull request #1434 from MichaelPeter-Shockoe/master 4 years ago
storage e6ff9e486b Merge pull request #1063 from hbakhtiyor/patch-1 4 years ago
amplitude.js 097d3c8377 make geoip lookup optional 4 years ago
clientConstants.js 1c44d1d0f9 added /config endpoint, use fewer globals (#1172) 5 years ago
config.js 17afd6ad58 Merge pull request #1416 from factorysh/s3_endpoint 4 years ago
fxa.js 017bb0d146 wrap openid-config request in try/catch 5 years ago
initScript.js 807ecff471 updated sentry libs from raven to @sentry 5 years ago
layout.js 3e14d3049d only index / route 5 years ago
limiter.js 7f9674f494 fixed size limit on server to include crypto overhead 5 years ago
locale.js c80f9ada65 updated deps 5 years ago
log.js 53e822964e a few changes to make A/B testing easier 7 years ago
metadata.js 3fd2537311 refactored server 6 years ago
readme.md f3fb433531 Fix link to dev.js and prod.js files. 5 years ago
state.js 20b9279eec added survey dialog. closes #1307 5 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