etherpad-lite/src/node
Richard Hansen ebdb2798ff server: Fix handling of errors during startup and shutdown
Before, an unhandled rejection or uncaught exception during startup
would cause `exports.exit()` to wait forever for startup completion.
Similarly, an error during shutdown would cause `exports.exit()` to
wait forever for shutdown to complete. Now any error during startup or
shutdown triggers an immediate exit.
2021-02-09 08:57:24 +00:00
..
db docs: fixed typos 2021-02-03 00:30:07 +01:00
eejs eejs: Cache the compiled template, not the template string 2021-01-20 08:15:43 +00:00
handler stats: activePads & lastDisconnected stats 2021-02-06 19:53:52 +00:00
hooks openapi: Turn down logging verbosity 2021-02-09 07:24:31 +00:00
utils tests: Admin Frontend Test Coverage(#4717) 2021-02-07 11:32:57 +00:00
easysync_tests.js lint: src/node/easysync_tests.js 2021-01-25 22:53:10 -05:00
padaccess.js lint: src/node/padaccess.js 2021-01-25 22:53:11 -05:00
README.md minor typo fix 2019-08-08 21:58:30 +02:00
server.js server: Fix handling of errors during startup and shutdown 2021-02-09 08:57:24 +00:00
stats.js lint: Fix some straightforward ESLint errors 2020-12-23 16:18:28 -05:00

About the folder structure

  • db - all modules that are accessing the data structure and are communicating directly to the database
  • handler - all modules that respond directly to requests/messages of the browser
  • utils - helper modules

Module name conventions

Module file names start with a capital letter and uses camelCase

Where does it start?

server.js is started directly