Hi everyone. So I think I have the basics of Express.js and MongoDB for Authentication down. Anyone willing to look it over and give me some feedback?
- Errors are pretty crude, if you submit invalid form info, try to use an already taken username/email, enter the wrong credentials on login, etc the error message is not very pretty.
- Most validation is only performed client side, the application checks for a valid string, etc but some stricter checks could be added.
- Uses EJS instead of React or Vue: If I had to do this project again, I wouldn’t use EJS, it overcomplicated certain aspects in the header and left confusing code.