Git Product home page Git Product logo

appoxy_rails's Introduction

This is a bunch of tools and utilities to help developing Rails apps using tools like SimpleRecord, jquery, OpenID, Oauth, HTML5, etc.

Everything is mix-ins and methods so you can pick and choose what you want to use.

Features

  • Super easy OpenID and Facebook logins
  • User authentication
  • Timezone helpers
  • Sharing things in an app (Shareable mix-in)
  • Ready to go models (User)
  • Geolocation
  • API authentication to easily create secure API's

Installation and Configuration

Clone appoxy BASE project.

OR:

  • gem 'appoxy_rails'
  • Delete all prototype scripts in public/javascripts

Includes

User

Create a User model and extend < Appoxy::Sessions::User

ApplicationController

Add include Appoxy::Sessions::ApplicationController to your ApplicationController.

ApplicationHelper

Add include Appoxy::UI::ApplicationHelper to your ApplicationHelper.

Includes:

  • Date formatting based on current user's timezone.
  • flash_messages
  • error_messages_for

UsersController

Add include Appoxy::Sessions::UsersController to your SessionsController.

Includes:

  • User creation.
  • Timezone setting.
  • Geo location setting.

Callbacks

  • before_create
  • after_create

SessionsController

Add include Appoxy::Sessions::SessionsController to your SessionsController.

Includes:

  • Authentication
  • Password resetting
  • Logout

Callbacks

  • before_create
  • after_create
  • after_reset_password - good for sending out an email, eg: Mailer.deliver_reset_password(@user, @newpass)

appoxy_javascripts

Includes:

  • jquery
  • jquery ui

appoxy_header

Includes:

  • appoxy_javascripts

appoxy_footer

Includes:

  • Some debug stuff if in development environment.
  • Timezone script to get user timezone.

appoxy_geo_finder

Finds user's geolocation and sets on User object.

latest_news(feed_url)

Will display a feed of the specific url.

Authentication

Any controllers that require authentication to view, use:

before_filter :authenticate

OpenID

Facebook

Oauth

Sharing

appoxy_rails's People

Contributors

rkononov avatar treeder avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.