Add various todo items
This commit is contained in:
55
TODO.md
55
TODO.md
@@ -3,21 +3,20 @@
|
|||||||
- [ ] Add unit tests all over the place.
|
- [ ] Add unit tests all over the place.
|
||||||
- ⚠️ Huge task - needs breakdown before starting
|
- ⚠️ Huge task - needs breakdown before starting
|
||||||
|
|
||||||
- [ ] Create initial docker-compose.yml file for local development
|
|
||||||
- include most recent stable postgres
|
|
||||||
- include beanstalkd
|
|
||||||
- include memcached
|
|
||||||
- include redis
|
|
||||||
- include mailpit
|
|
||||||
|
|
||||||
- [ ] Add first cut at database access. Remember that ORMs are not all that!
|
|
||||||
|
|
||||||
- [ ] Add middleware concept
|
|
||||||
|
|
||||||
|
- [ ] Add default user table(s) to database.
|
||||||
|
|
||||||
|
|
||||||
- [ ] Add authentication
|
- [ ] Add authentication
|
||||||
- password
|
- password
|
||||||
- third party?
|
- third party?
|
||||||
|
|
||||||
|
|
||||||
|
- [ ] Add middleware concept
|
||||||
|
|
||||||
- [ ] Add authorization
|
- [ ] Add authorization
|
||||||
- for specific routes / resources / etc
|
- for specific routes / resources / etc
|
||||||
|
|
||||||
@@ -25,6 +24,9 @@
|
|||||||
Partially done; see the /time route. But we need to figure out where to
|
Partially done; see the /time route. But we need to figure out where to
|
||||||
store templates, static files, etc.
|
store templates, static files, etc.
|
||||||
|
|
||||||
|
- [ ] fix process management: if you control-c `master` process sometimes it
|
||||||
|
leaves around `master-bin`, `logger-bin`, and `diachron:nnnn` processes.
|
||||||
|
Huge problem.
|
||||||
|
|
||||||
## medium importance
|
## medium importance
|
||||||
|
|
||||||
@@ -32,10 +34,26 @@
|
|||||||
- with queries
|
- with queries
|
||||||
- convert to logfmt and is there a viewer UI we could pull in and use
|
- convert to logfmt and is there a viewer UI we could pull in and use
|
||||||
instead?
|
instead?
|
||||||
|
|
||||||
|
- [ ] add nested routes. Note that this might be easy to do without actually
|
||||||
|
changing the logic in express/routes.ts. A function that takes an array
|
||||||
|
of routes and maps over them rewriting them. Maybe.
|
||||||
|
|
||||||
|
- [ ] related: add something to do with default templates and stuff... I
|
||||||
|
think we can make handlers a lot shorter to write, sometimes not even
|
||||||
|
necessary at all, with some sane defaults and an easy to use override
|
||||||
|
mechanism
|
||||||
|
|
||||||
|
|
||||||
- [ ] figure out and add logging to disk
|
- [ ] figure out and add logging to disk
|
||||||
|
|
||||||
- [ ] Add email verification
|
- [ ] I don't really feel close to satisfied with template location /
|
||||||
|
rendering / etc. Rethink and rework.
|
||||||
|
|
||||||
|
- [ ] Add email verification (this is partially done already)
|
||||||
|
|
||||||
|
- [ ] Reading .env files and dealing with the environment should be immune to
|
||||||
|
the extent possible from idiotic errors
|
||||||
|
|
||||||
- [ ] Update check script:
|
- [ ] Update check script:
|
||||||
- [x] shellcheck on shell scripts
|
- [x] shellcheck on shell scripts
|
||||||
@@ -48,7 +66,11 @@
|
|||||||
- upgrade docs
|
- upgrade docs
|
||||||
- starting docs
|
- starting docs
|
||||||
- taking over docs
|
- taking over docs
|
||||||
|
- reference
|
||||||
|
- internals
|
||||||
|
|
||||||
|
- [ ] make migration creation default to something like yyyy-mm-dd_ssss (are
|
||||||
|
9999 migrations in a day enough?)
|
||||||
|
|
||||||
## low importance
|
## low importance
|
||||||
|
|
||||||
@@ -72,6 +94,10 @@
|
|||||||
code; repeat
|
code; repeat
|
||||||
- Slow start them: only start a few at first
|
- Slow start them: only start a few at first
|
||||||
|
|
||||||
|
- [ ] in express/user.ts: FIXME: set createdAt and updatedAt to start of epoch
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## finished
|
## finished
|
||||||
|
|
||||||
@@ -99,3 +125,12 @@
|
|||||||
|
|
||||||
- [x] Log to logging service from the express backend
|
- [x] Log to logging service from the express backend
|
||||||
- Fill out types and functions in `express/logging.ts`
|
- Fill out types and functions in `express/logging.ts`
|
||||||
|
|
||||||
|
- [x] Add first cut at database access. Remember that ORMs are not all that!
|
||||||
|
|
||||||
|
- [x] Create initial docker-compose.yml file for local development
|
||||||
|
- include most recent stable postgres
|
||||||
|
- include beanstalkd
|
||||||
|
- include memcached
|
||||||
|
- include redis
|
||||||
|
- include mailpit
|
||||||
|
|||||||
Reference in New Issue
Block a user