xForum
xForum copied to clipboard
Code rewrite
Just a general issue for code rewrites. Changes to be made:
- Code should be more modular
- Less templating in Javascript (socket functions)
- File/folder structure made clearer
- JSDocs (#24)
- Clean up database connections (Currently there are 3, should only be 1)
- Better error-handling
- Less 'callback-hell'
- Consistent callback returns i.e. callback(err, result)
The above list is not exhaustive