volatiletech / authboss-sample

A sample implementation of authboss.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Authboss Sample

A sample implementation of authboss.

This is a simple blogging engine with a few basic features:

  • Authentication provided by Authboss (all modules enabled with the exception of expire)
  • Some examples of overridden Authboss views.
  • CRUD for an in-memory storage of blogs.
  • Flash Messages
  • CSRF Protection (including authboss routes)
  • Support for API style JSON requests and responses (-api flag)
  • Various levels of debugging to see what's going wrong (-debug* flags)

Uses the following default libraries:

Disclaimer

This sample is NOT a seed project. Do not use it as one. It is used as an example of how to use the Authboss API. This means if you copy-paste code from this sample you are likely opening yourself up to various security holes, bad practice, and bad design. It's a demonstration of the surface API of Authboss and how the library can be used to make a functioning web project.

About

A sample implementation of authboss.

License:MIT License


Languages

Language:Go 85.3%Language:Smarty 14.7%