noobcollective / cwf

cwf is a small tool to quickly share content (e.g. logfiles, commands, ...) with your friends and colleagues.
https://cwf.noobcollective.dev
11 stars 0 forks source link

[SERVER] Accounts Implementation #5

Closed iCultureBud closed 6 months ago

DrinoSan commented 6 months ago

Just implemented rough functionality. I tested it quickly and it seems to work.

I made small adjustments in the wrapper functions where the headers are checked to ignore the register endpoint

Improvements: I think it makes more sense to call os.Open and not readFile and then writeFile but I am not sure. Also I check register with strings.Contains Need to fix typos Added function to check if UUID is valid but it is not used for now and I think we do not need it but yeah

Added new endpoint cwf/register/{username}