Skip to content

alejandrobabio/dwr-todo-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8466796 · Feb 13, 2018

History

25 Commits
Nov 8, 2017
Oct 30, 2017
Oct 31, 2017
Oct 31, 2017
Oct 30, 2017
Oct 31, 2017
Oct 30, 2017
Feb 3, 2018
Feb 3, 2018
Oct 30, 2017
Oct 30, 2017
Oct 30, 2017
Oct 30, 2017
Oct 30, 2017
Nov 3, 2017
Feb 13, 2018
Oct 31, 2017
Jan 27, 2018
Dec 19, 2017
Dec 19, 2017
Oct 30, 2017

Repository files navigation

dwr-todo-example

ToDo example app built with dry-web-roda.

Deploy

In the step-by-step document you will find:

  • The folder structure of a dry-web-roda app
  • DB migrations, repositories and relations
  • Authentication
  • Authorization
  • The use of the Roda flow plugin to call dry-transactions and its output processing
  • Operations called in each step of the transactions
  • Scoping data for the current user by policies scopes (idea was taken from Pundit)
  • Input validation with dry-validation
  • Showing the current user in layout
  • Transactions for add and complete your tasks

Isolating functionality using middleware

In the branch middleware-auth the Authorization functionality was moved to a middleware app, that is also a dry-web-roda app. More information in the commit's messages.

Similar projects

Official documentation

Releases

No releases published

Packages

No packages published