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
1d74b75ca8
change hash_cost to u32
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
aa6b788669
refactor routing
3 years ago
Rohan Sircar
f6f9a18d9f
add build-info endpoint
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
1d1cff4f74
Add docker build and update to actix-web v3
3 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
667728bb02
Added basic auth
TODO need to improve error handling
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
Rohan Sircar
409a28c170
first commit
4 years ago