Updated REFACTOR.md.

This commit is contained in:
baldo 2022-02-09 18:06:23 +01:00
parent 002ae4419f
commit 2bf3101338

View file

@ -3,21 +3,18 @@
## TODO ## TODO
* Test email rendering! * Test email rendering!
* Get rid of unhandled promise rejection warnings in tests.
## Short term ## Short term
* Integrate typescript in the build and start migrating the server code. * Split into seperate packages for server and frontend.
* Find a nice way to integrate typescript with grunt. * Make admin panel part of new frontend package.
* Get rid of grunt.
* Bluebird for promises? * Bluebird for promises?
* Yarn instead of NPM? * Yarn instead of NPM?
## Mid term ## Mid term
* Typesafe db queries. * Typesafe db queries.
* 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. * Store node data in database and export it for gateways.
* Write tests (especially testing quirky node data). * Write tests (especially testing quirky node data).
* Allow terminating running tasks via bluebirds cancellation. * Allow terminating running tasks via bluebirds cancellation.