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

Bonus Feature: Login System #11

Open
Fleury14 opened this issue Jan 24, 2023 · 0 comments · May be fixed by rpheredia/react-challenge-project-jan-2023#11
Open

Bonus Feature: Login System #11

Fleury14 opened this issue Jan 24, 2023 · 0 comments · May be fixed by rpheredia/react-challenge-project-jan-2023#11

Comments

@Fleury14
Copy link
Collaborator

Notes

This challenge is to allow full stack developers to demonstrate their skill/experience with a basic login system, which is a common aspect of many projects. Since this will require some familiarity with MongoDB to create the collection, as well as some additions on the server (An endpoint for creating an account will need to be created as well as modifying the current login procedure), this is considered extra credit.

It is highly recommended that you encrypt the password being stored in the manner of your choosing. Bringing in packages to accomplish this is okay.

Bonus points for validating the email field, making sure the format is a proper email address.

Current Functionality

Right now, there is no user account system in place. Every login attempt as far as authentication is concerned is a success.

Desired functionality

Build a "Create account" page with similar style to the login page, and create a link from the login page to the create account page. Filling in the form with an email and password and submitting should create an account on the back-end and return the user to the login page.

Logins should now properly check the email/password against the newly added collection in the database and either properly authenticate, or return a login failure that is handled on the front end in the form of an error message in text.

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

Successfully merging a pull request may close this issue.

1 participant