
This simply shares a common implementation and makes no judgements on the validity of its use. The string created is not a secure random number, so some uses of it may not be applicable.
About the folder structure
- db - all modules that are accesing the data structure and are communicating directly to the database
- handler - all modules that responds directly to requests/messages of the browser
- utils - helper modules
Module name conventions
Module file names starts with a capital letter and uses camelCase
Where does it start?
server.js is started directly