Danny Coates ccbcb69666 Merge pull request #1434 from MichaelPeter-Shockoe/master | 4 years ago | |
---|---|---|
.. | ||
bin | 5 years ago | |
middleware | 5 years ago | |
routes | 4 years ago | |
storage | 4 years ago | |
amplitude.js | 4 years ago | |
clientConstants.js | 5 years ago | |
config.js | 4 years ago | |
fxa.js | 5 years ago | |
initScript.js | 5 years ago | |
layout.js | 5 years ago | |
limiter.js | 5 years ago | |
locale.js | 5 years ago | |
log.js | 7 years ago | |
metadata.js | 6 years ago | |
readme.md | 5 years ago | |
state.js | 5 years ago |
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
.
config.js contains the schema for our configuration options. Environment variables are the preferred method for setting configuration.
Contains authentication and localization middleware.
Contains all the server routes and handlers for the API and pages
Contains implementations of possible storage engines for the files and metadata