Solves the issue on authentication, register, and login.
Built with atlas and MongoDB rather than mysql
install Packages with npm install.
run with npm run dev
Fixes # issues 3, 4, 5
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
- This change requires a documentation update
Tested through postman
Runs on localhost:4000
Install postman to test
Exposed Endpoints to Test
- /register
Requirements
-
username
-
email
-
password
-
/login
Requirements
- username
- password
- My code follows the style guidelines of this project
- I have performed a self-review of my own code
- I have commented my code, particularly in hard-to-understand areas
- I have made corresponding changes to the documentation
- My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature works
- New and existing unit tests pass locally with my changes
- Any dependent changes have been merged and published in downstream modules
- I have checked my code and corrected any misspellings