Skip to content

Hanami sample app with User, Authentication, Roles, Authorisation and more.

Notifications You must be signed in to change notification settings

theCrab/Bookshelf

Repository files navigation

Bookshelf

Hanami sample app thats is more than 'hello world!'.

This app is a sample bookshelf at your dev lab or office, you keep track of your books so you dont loose them. Or to remind you how terrible you are at reading tech books.

Warning!

Hanami is changing fast. This app is released starting with version 0.7. It is my hope that we can keep a realese of each new version. I also don't know if this is a good idea at all. But we'll know that in 10 years from now, lend your hand and lets give it a shot.

Motivation

I started extracting an Authentication into a gem but could not find enough time to complete it. 2 friends joined to help but we realised we needed more than a simple example. It was easier to extract it from here than from my apps. And besides, i didn't have a good list of the features I wanted. I had started approaching authentication differently from the traditional style.

Expectations

Like Hanami Framework. Do not expect magic. There is no Magic. The developer should have control on their code. This is only one way of doing it. I am tired of magic. Thanks.

Features

  • User
    • username
    • email
    • password_hash
    • role (admin, guest, editor, contributor)
  • User Management
    • Signup
    • Signin
    • ResetPassword
  • Authentication (Check if request is allowed)
  • Authorisation
    • Roles
    • Permissions
  • File Uploading

What to expect

  • Book
    • Title
    • Author
    • Edition
    • Published_on
    • ISBN
  • Author
    • Names
  • Photos
  • Reviews
  • Ratings
  • Categories
  • Releases (Editions)

About

Hanami sample app with User, Authentication, Roles, Authorisation and more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published