Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daniel tech submission #11

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Danfraga33
Copy link

Technical Test Submission

This PR contains a minimum of 3 bug fixes, and feature addition.

Bug fixes

  1. Password was visible on the people page when adding a new user. This is not secure. I added a type=password to the password input.
  2. Name property was not being saved when creating a new user due to the input name not aligned with User model. I changed the input name on the frontend to match the property name on the backend.
  3. /project/:id app route was throwing an error. This was due to the /project/:id API route returning an array of projects, instead of a single project. This was fixed by changing Model.find() to Model.findOne()

Feature

The feature I developed was a back button allowing users to navigate back to the login page.
Why this feature?
It was a very quick win.

Feedback

This project was well organized and easy to navigate. My main difficulty was using JavaScript without any type checking, at least JSDoc would be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant