-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
47 lines (44 loc) · 2.94 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Global:
☐ @critical cleanup main project README with scripts from package.json, links to project README's, how to run all projects, init db to test signup signin etc
☐ add initdb with sample data and maybe a schema `initdb.sql` (from old project)
☐ @critical rest with current package without graphql deps
✔ test all client.http requests, do some cleanup @done(22-10-11 22:35)
✔ use latest surrealdb.js package @done(22-10-03 22:59)
✔ remove bcrypt, jwt references @done(22-09-09 23:36)
✔ appModule add globalError Handling @done(22-09-09 23:36)
✔ add all surrealdb methods from old project @done(22-09-09 23:36)
✔ remove all lerna stuff @done(22-10-06 21:44)
✔ publish final surrealdb nestjs package @done(22-10-03 23:21)
✔ finish and publish nestjs package with new ts types @done(22-09-29 22:18)
✔ add baseService entity stuff to nestjs package, like base service, @done(22-10-03 23:00)
has many things related to graphql like @InputType() dtos, required '@nestjs/graphql' but why not
this works with rest and graphql
✔ change to override default EnvironmentVariables @done(22-10-07 22:36)
try using default variables
✔ finish docker images and push to registry @done(22-10-07 22:58)
✔ rest @done(22-10-07 22:58)
✔ graphql @done(22-10-07 22:58)
✔ create a new github repo with this, and after finish project delete the old one @done(22-10-11 23:15)
https://github.com/koakh/NestJsSurrealDbDynamicModule
✔ add a graphql tutorial to use nestjs package and add it to tutorials.surrealdb.com @done(22-10-11 23:15)
☐ graphql:
☐ fix errors output, `{ "errors": [ {} ], "data": null }`, response don't output any error, just a empty object
☐ some issues with recordId's, for ex `createRecipeInput` will create a string id "restaurant:restaurant01" in db and not a surrealdb recordId
in this case we block, we must somehow transform the `"restaurant:r01"` into a `new RecordId('restaurant', 'r01')` in a generic way
☐ c3-backend
✔ debug working @done(24-12-09 17:07)
✔ update all dependencies in all packages @done(24-12-09 17:07)
✔ test all consumer apps @done(24-12-09 17:08)
✔ update to new surreal 2.1.0 @done(24-12-09 17:08)
☐ pub and deploy project on npm and test with c3-backend
✔ @criical done we have a ready to play surrealdb database ready to use with `signup` and `signin` @done(24-12-09 17:08)
replace this with new auth stuff
DynamicModule:
Rest App:
GraphQL App:
✔ dataLoaders @done(22-09-29 22:02)
✔ add base classes and abstract classes ex resolvers and common services @done(22-09-29 22:03)
✔ try dataloader with same query, ex same recipes in restaurants @done(22-10-03 22:58)
☐ @low try to use graph to relate restaurants and recipes,
two way links vs record restaurant id on recipe
this way works because Restaurant can get recipes, and recipes and FETCH parent Restaurant to