etherpad-lite/src/node
Richard Hansen d7ed71eba0 plugins: Fix "Error: spawn npm ENOENT" error on Windows
On Windows, npm should be invoked as `npm.cmd`, not `npm`. Use a
drop-in replacement for `child_process.spawn()` that does the right
thing on Windows.
2021-02-16 22:00:20 +00:00
..
db docs: fixed typos 2021-02-03 00:30:07 +01:00
eejs eejs: Upgrade ejs to the latest version 2021-02-14 23:36:53 -05:00
handler import: Ajaxify pad import 2021-02-14 08:35:38 +00:00
hooks security: New setting for Socket.IO maxHttpBufferSize 2021-02-15 12:45:31 -05:00
utils plugins: Fix "Error: spawn npm ENOENT" error on Windows 2021-02-16 22:00:20 +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 lint: Re-run eslint --fix 2021-02-13 00:31:36 -05: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