From e5ccfeadce2e7c3476fc7dfe6d7edd0dedf7d222 Mon Sep 17 00:00:00 2001 From: baldo Date: Wed, 8 Apr 2020 00:36:15 +0200 Subject: [PATCH] Start collecting refactoring ideas. --- REFACTOR.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 REFACTOR.md diff --git a/REFACTOR.md b/REFACTOR.md new file mode 100644 index 0000000..1ee47ec --- /dev/null +++ b/REFACTOR.md @@ -0,0 +1,20 @@ +# Refactoring ideas + +## Short term + +* Integrate typescript in the build and start migrating the server code. + +## Mid term + +* Port complete server to typescript. +* Port the server code to promises and `async` / `await`. +* Use ES6 style imports instead of `require`. +* Store node data in database and export it for gateways. +* Write tests (especially testing quirky node data). + +## Long term + +* Rewrite the admin interface (used lib is unmaintained). +* Rewrite the client in typescript (+ vue?). +* Replace the grunt build system. +* Decentralize node data.