-
Notifications
You must be signed in to change notification settings - Fork 2
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
EPIC: Update MVP App to Latest Phoenix
with auth_plug
#89
Comments
This ERD covers the "Single Player Mode" described in the /dwyl/product-roadmap#1-single-player Do we want to add the complexity of "Multi-Player" to the MVP? |
I think I answered my own question in the Product Roadmap link above. 💭 And then we can add the concept of |
For reference, at the time of writing, visiting: https://dwylapp.herokuapp.com I see: When I authenticate with my Google Account, I see: And when I click on "capture" I see: https://dwylapp.herokuapp.com/capture/new When I submit I'm shown: https://dwylapp.herokuapp.com/categorise When visiting the list: https://dwylapp.herokuapp.com/items This Summarises it well. 💭 |
Quick walkthrough of the "User Journey" through using the current version of the App, This version does not allow people to create Once authenticated the At present the schema is there for So the MVP as it stands is very incomplete. |
Dependencies we want to bring with us: # Easily Encrypt Senstive Data: github.com/dwyl/fields
{:fields, "~> 2.7.1"},
# Auth with ONE Environment Variable: github.com/dwyl/auth_plug
{:auth_plug, "~> 1.2.3"},
# Useful functions: https://github.com/dwyl/useful
{:useful, "~> 0.1.0"},
# create docs on localhost by running "mix docs"
{:ex_doc, "~> 0.22.6", only: :dev, runtime: false},
# track test coverage
{:excoveralls, "~> 0.13.2", only: [:test, :dev]},
# git pre-commit hook runs tests before allowing commits
{:pre_commit, "~> 0.3.4"},
{:credo, "~> 1.1.0", only: [:dev, :test], runtime: false}, Note: all of these are way out-of-date, this is just for reference. |
Also want to keep these settings test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
c: :test,
coveralls: :test,
"coveralls.json": :test,
"coveralls.html": :test,
t: :test
] and aliases: c: ["coveralls.html"],
s: ["phx.server"],
t: ["test"], |
…really hope its just a glitch in excoveralls ...
@SimonLab I've finished updating Please take a look and give feedback when you can. 🙏 |
After removing ALTER TABLE items
RENAME COLUMN status_code TO status;
DROP INDEX items_person_id_index;
ALTER TABLE items DROP CONSTRAINT items_person_id_fkey;
ALTER TABLE timers DROP CONSTRAINT timers_person_id_fkey;
DROP TABLE people; |
PR: Simplify MVP + Update to Phoenix 1.6 #89
PR #90 merged, we can start the last checkbox item: |
Thanks again @SimonLab 🎉 |
This project is a bit out-of-date.
Let's fix that and add @dependabot to keep it up-to-date!
Todo
Phoenix
withauth_plug
#89 (comment)Phoenix
withauth_plug
#89 (comment)new
[email protected]
project 🆕auth_plug
so we leverageauth
from the start. Addauth_plug
#104auth
is not required to create items. i.e optional.LiveView
instead of MVC. #100item
using basic interfaceitems
are automatically added to a single list (separate lists can follow later)items
are considered to betasks
for now and thus have a timer (start) button next to them in the UI/UXtimers
#103timer.text
Edititem.text
#102timer.end
totimer.stop
: Chore: Renametimer.end
totimer.stop
#114upsert_people/1
functionupsert_person/1
#115 tocreate
orupdate
aperson
record. c77d43aDELETE
people
schema/table from the project! Removepeople
table completely? ✂️ #118README.md
items
#119The text was updated successfully, but these errors were encountered: