Rohan Sircar
0c64225bcf
remove unneeded files
3 years ago
Rohan Sircar
b6801e1821
many changes - mainly moving to refined newtypes
other changes -
add dependencies for implementing refined newtypes -
derive-more/validators
rename Plain logger format to Pretty
rename regexs package to regex
3 years ago
Rohan Sircar
88430a3e51
migrate to tracing and remove `log`
3 years ago
Rohan Sircar
d3a3b1e1f2
use full qualified name for log statements
3 years ago
Rohan Sircar
eb9e97c3aa
error handling improvements
3 years ago
Rohan Sircar
0fd1137361
Add ci file
3 years ago
Rohan Sircar
1d1cff4f74
Add docker build and update to actix-web v3
3 years ago
Rohan Sircar
5618d043bc
Vastly improved error handling
Vastly improved error handling in some functions.
Rest will be done later.
Code cleanup and fixed typos.
Removed actix_htttp crate as dependency
4 years ago
Rohan Sircar
8d8cdfe267
Changes to config
Added appconfig struct
Added option to chage hash cost from env file
Added auto-reloading code
4 years ago
Rohan Sircar
7683636a4e
Cleanup of main
4 years ago
Rohan Sircar
667728bb02
Added basic auth
TODO need to improve error handling
4 years ago
Rohan Sircar
e22b6770f9
Formatting and diesel boxed query experiment
4 years ago
Rohan Sircar
cb26393fcd
Many updates
Split codebase into modules
Added custom all in one error type
Added password to user model
Added password hashing using bcrypt
Added model validation for username using regex
4 years ago