8000 GitHub - kumarkekse/authpro
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kumarkekse/authpro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authpro

Code Climate Build Status

Authpro is a simple authentication generator for Rails 4.1 It:

  • Gives you sign up, log in, remember me & password reset functionality
  • Has no hidden code, special super classes or mixins
  • Has no configuration.

Authpro assumes you want:

  • User as the model
  • Email for login
  • Erb for views.

However, you can easily change the code that Authpro generates if you want to. It's just simple Ruby / Rails code.

To be honest you really should change the generated code. Most of the code in the user model should be moved to a different place. You can use the new concerns functionality in Rails 4. More information about concerns can be found here.

If concerns concerns you, you can always extract the code into Service Objects. More info about Service Objects can be found here.

Installation

Add this line to your application's Gemfile:

gem 'authpro'

And then execute:

$ bundle
$ rails generate authpro
$ rake db:migrate
$ rails server

Open browser:

$ open http://localhost:3000

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0