etherpad-lite/src/node
Richard Hansen 797ffa5600 Minify: Avoid path.relative()
Constructing a relative pathname on Windows is problematic because the
two absolute pathnames might be on different drives (or UNC paths).
Use `path.resolve()` instead of `path.join()` where appropriate to
avoid the need to construct a relative path.
2021-03-02 06:20:10 +00:00
..
db Lgtm bugfixes (#4838) 2021-02-22 08:26:35 +00:00
eejs lint: eejs/index.js 2021-02-21 21:06:38 -05:00
handler PadMessageHandler: Fix fetching of socket.io Sockets for a pad 2021-02-27 08:46:49 +00:00
hooks fix pads with spaces (#4884) 2021-02-27 22:34:43 -05:00
utils Minify: Avoid path.relative() 2021-03-02 06:20:10 +00:00
easysync_tests.js lint: src/node/easysync_tests.js 2021-01-25 22:53:10 -05:00
padaccess.js lint: padaccess.js 2021-02-21 21:09:02 -05:00
README.md minor typo fix 2019-08-08 21:58:30 +02:00
server.js plugins: Use npm CLI to install/uninstall plugins 2021-02-18 19:18:59 +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