gaurijo / viewing_party_lite

1 stars 0 forks source link

user registration user_story5 #16

Closed gaurijo closed 2 years ago

gaurijo commented 2 years ago

Pull request type

Please check the type of change your PR introduces:

Problem/feature

What problem are you trying to solve? When a user visits the '/register' path they should see a form to register.

The form should include:

Name Email (must be unique) Register Button

Once the user registers they should be taken to a dashboard page '/users/:id', where :id is the id for the user that was just created.

Solution

How did you solve the problem? -using mvc principles feature test for a fillable form when user visits register path -tests capybara elements -updates routes and creates a user controller that redirects a user to their show page after registering for an account

Still need include functionality to ensure the email is unique Merge own PR based on discussed merge conflicts

Other changes (e.g. bug fixes, UI tweaks, small refactors)

Checklist