my knowledge of typescript... I have alot of returns for ":Promise any" ...
Trying to determine best practice for deno w/ File organization
--userRepo... why can I not have private methods and only static methods?
-handle user interface better...I have password and pw_hash...
-handle state of ctx better... I feel there is vulenabilities I didnt consider and edge cases where state.user would not be null by accident and grant auth to bad reqs.
implement .env and denon (nodemon =)
Deno - auth using Oak, djwt, bcrypt, nessie, postgres
to run you'll need to create the database "nessie" localhost and then cd into the db and run
deno run --allow-net --allow-read https://deno.land/x/nessie/cli.ts migrate
-> deno run --allow-net --allow-env --unstable server.ts
-auth test path ( auth header with prefix: bearer)
-Get Paths for testing
(db connect test) http://localhost:4000/auth/test
djwt (json webtoken)
nessie (db migrations)
postgres client (db client)