Rohan Sircar
c993ef87ee
Add endpoints for search and pagination
also add non-blocking logger
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
4673818894
Switch to ApiResponse struct instead of ErrorModel
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
26b76e4226
Add integration tests
3 years ago
Rohan Sircar
eb9e97c3aa
error handling improvements
3 years ago
Rohan Sircar
c4bc4a2f4b
fix clippy errors
3 years ago
Rohan Sircar
0fd1137361
Add ci file
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
e22b6770f9
Formatting and diesel boxed query experiment
4 years ago
Rohan Sircar
260f887d22
Implemented basic auth logic + other stuff
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