Skip to content

alejandrobabio/dwr-todo-example

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