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

Add Auth (AuthPlug) to MVP #65

Closed
8 tasks done
nelsonic opened this issue Sep 29, 2020 · 3 comments
Closed
8 tasks done

Add Auth (AuthPlug) to MVP #65

nelsonic opened this issue Sep 29, 2020 · 3 comments
Assignees
Labels
enhancement New feature or enhancement of existing functionality priority-2 Second highest priority, should be worked on as soon as the Priority-1 issues are finished T4h Time Estimate 4 Hours technical A technical issue that requires understanding of the code, infrastructure or dependencies

Comments

@nelsonic
Copy link
Member

nelsonic commented Sep 29, 2020

Now that we have Auth working https://dwylauth.herokuapp.com 🚀 we can add it to the MVP to simplify the App.

Todo

  • Add auth_plug to mix.exs see: https://github.com/dwyl/auth_plug
  • Enable auth_plug in router.ex
  • Enable AuthPlugOptional in router.ex for any routes where auth is optional
  • Remove all personally identifiable information from the MVP
    • Keep people table with bare minimum data to allow FK in items table to work.
  • Remove any auth related tests and let auth_plug handle all of that!
  • Ensure that everything still works as expected (tests for creating items should all still pass)
  • Get back to building the features we actually want! Proposed MVP feature list app#266
@nelsonic nelsonic added enhancement New feature or enhancement of existing functionality technical A technical issue that requires understanding of the code, infrastructure or dependencies T4h Time Estimate 4 Hours priority-2 Second highest priority, should be worked on as soon as the Priority-1 issues are finished labels Sep 29, 2020
@nelsonic nelsonic self-assigned this Sep 29, 2020
@nelsonic
Copy link
Member Author

nelsonic commented Sep 30, 2020

Before: http://localhost:4000/
image

@nelsonic
Copy link
Member Author

nelsonic commented Oct 1, 2020

Tests pass as does UI:
image

Need to decide what we're going to do with the home page:
image

I think it should immediately display the interface for inputting items.

@nelsonic
Copy link
Member Author

nelsonic commented Oct 1, 2020

Added auth_plug to MVP: #66

@nelsonic nelsonic closed this as completed Oct 1, 2020
nelsonic added a commit that referenced this issue Oct 2, 2020
nelsonic added a commit that referenced this issue Oct 2, 2020
iteles added a commit that referenced this issue Oct 4, 2020
PR: Use auth_plug to simplify auth in MPV App issue #65
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement of existing functionality priority-2 Second highest priority, should be worked on as soon as the Priority-1 issues are finished T4h Time Estimate 4 Hours technical A technical issue that requires understanding of the code, infrastructure or dependencies
Projects
None yet
Development

No branches or pull requests

1 participant