Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Flask Appbuilder | 4,178 | 301 | 23 | 9 days ago | 276 | July 06, 2022 | 144 | bsd-3-clause | Python | |
Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more. Demo (login with guest/welcome) - http://flaskappbuilder.pythonanywhere.com/ | ||||||||||
Lexikjwtauthenticationbundle | 2,412 | 613 | 128 | a month ago | 79 | June 12, 2022 | 111 | mit | PHP | |
JWT authentication for your Symfony API | ||||||||||
Django Rest Auth | 2,331 | 1,109 | 24 | 10 months ago | 25 | April 01, 2019 | 234 | mit | Python | |
This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON) | ||||||||||
Djoser | 2,288 | 212 | 5 | 6 days ago | 48 | October 30, 2020 | 166 | mit | Python | |
REST implementation of Django authentication system. | ||||||||||
Awesome Api | 2,091 | 8 months ago | 4 | |||||||
A curated list of awesome resources for design and implement RESTful API's. | ||||||||||
Foal | 1,738 | 7 | 22 | 2 months ago | 77 | May 29, 2022 | 21 | mit | TypeScript | |
Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented. | ||||||||||
Accounts | 1,424 | 60 | 30 | a year ago | 162 | October 12, 2021 | 79 | mit | TypeScript | |
Fullstack authentication and accounts-management for Javascript. | ||||||||||
Go Base | 1,290 | 2 | a month ago | 1 | March 08, 2021 | mit | Go | |||
Go RESTful API Boilerplate with JWT Authentication backed by PostgreSQL | ||||||||||
Azure Sdk For Go | 1,283 | 774 | 4 hours ago | 1,178 | June 14, 2022 | 354 | mit | Go | ||
This repository is for active development of the Azure SDK for Go. For consumers of the SDK we recommend visiting our public developer docs at: | ||||||||||
Core.js | 1,043 | 8 | 145 | 8 days ago | 46 | July 08, 2022 | 17 | mit | TypeScript | |
Extendable client for GitHub's REST & GraphQL APIs |
Rails has advanced since this application was developed in mid-2008. As of February 2010, Rails is currently at version 2.3.5 (and Rails 3 is in beta). Several Rails gems are now available that provide a turnkey authentication solution, including Authlogic, Devise, and Clearance. You can also look at Technoweenie's restful-authentication generator. The Ruby Toolbox page for Rails Authentication shows which are most popular. You will better served by looking at examples that use one of the authentication gems than by using this example application.
I personally recommend Devise and the Devise Example Application.
This is an example application for Rails 2.1 that implements best practices (circa 2008) for authentication and user management.
It provides a complete system for managing users, including sign up and verification of a new user's email address, login with role-based access control, and a system of resetting forgotten passwords, all using a RESTful architecture, as described in the forum discussion Restful Authentication With All the Bells and Whistles.
The application provides authentication (the user must enter a name and password to use the application) and authorization (access to some pages is limited to users with an "administrator" role). To use the application, a visitor must sign up and click an activation link in an email message. If the user forgets his or her password, there is a forgot password option that emails a reset password link.
The application does not provide support for the OpenID protocol. The forum discussion Restful Authentication With All the Bells and Whistles provides instructions for adding OpenID support if you require it.
You can ask questions, make suggestions, and report problems:
You can see the original announcement:
and keep up with developments on the blog:
The source code is managed with Git (a version control system) and hosted at GitHub. You'll need Git on your machine (install it from http://git.or.cz/).
You can download the app ("clone the repository") with the command
$ git clone git://github.com/fortuity/origin_restful_authentication.git
The application has been configured to use a Google gmail account to send confirmation emails to new users. Using a Google gmail account means you can host the application with a hosting provider who does not provide email services.
Configure email by modifying
config/config.yml (or create "config/config.local.yml")
Alternatively, if you have an email server for your domain, you can use your own email server by modifying
config/initializers/mail.rb
You'll need to be in the application root directory:
$ cd origin_restful_authentication
You can use the default settings if you're using SQLite.
$ cp config/database.sample.yml config/database.yml
If you're using MySQL, you'll need to edit the file
config/database.yml
Running the database migrations sets up a user named "admin" with a password "admin" and a role of "administrator". You can modify the file
config/config.yml
if you wish to change the administrator name and password before you run the migration.
Set up the database by running
$ rake db:create:all
$ rake db:migrate
If you get an error
SQLite3::SQLException: no such table
it means you didn't run the database migration.
Start the server
$ script/server
and go to http://localhost:3000/.
To sign in as the pre-configured admin user, (unless you've changed it) use
name: admin
password: admin
You should change the admin user name and password after you log in.
Before you deploy to production, be sure to replace example values such as http://www.mydomain.com/ with your site information in the file:
config/config.yml
For full security, change the REST_AUTH_SITE_KEY in
config/initializers/site_keys.rb
RSpec is a framework for creating specifications and testing a Rails web application.
You can run RSpec "stories" to see the specifications for the application's behavior. You can run RSpec "examples" to verify the application is behaving as intended at the object level.
You must prepare the test database before running RSpec:
$ rake db:test:prepare
which takes a schema dump from the development database and uses it to create a test database. (If you're modifying the app, you'll need to do that after every migration.)
Be sure that you've prepared the app to send email:
or you will get many failures when you run RSpec.
To see the RSpec stories:
$ ruby stories/all.rb
To run the RSpec examples:
$ rake spec
When you run RSpec stories or examples, real email messages are sent. You may get "mail undelivered" bounce messages unless you change email addresses throughout the RSpec code. Search and replace for "rspectest.com" if the bounce messages irritate you.
The forum discussion Restful Authentication With All the Bells and Whistles provides detailed information about the code. You can seek clarification or help there.
Here's another place to ask questions, make suggestions, and report problems:
Here are useful blog postings:
This application is provided without additional documentation or support.
This work is a compilation and derivation from other previously released works. With the exception of various included works, which may be restricted by other licenses, the author or authors of this code dedicate any and all copyright interest in this code to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this code under copyright law.