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

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