Skip to content
/ play-003 Public

Simple rails apps to verify that visitors is website's owner's friend & the name is registered on database.

Notifications You must be signed in to change notification settings

mssio/play-003

Repository files navigation

About P-003

This website is created to verify that the visitor is selected friend of website's owner.

It will use Facebook to verify that the visitor is a friend of website's owner and visitor's name is already registered on database.

Sorry, no test unit implemented yet. I'll implement it later when I have learnt more about RSpec.

Here is list of library that I've used:

  • figaro for all environment variables :
    • FACEBOOK_APP_ID
    • FACEBOOK_APP_SECRET
    • FACEBOOK_OWNER_ID (Facebook Owner's app specific user ID)
    • FACEBOOK_OWNER_LINK (Facebook Owner's user profile link to contact if user is not registered)
  • koala for Facebook Open Graph API wrapper
  • bower-rails
  • bootstrap for CSS layout
  • font-awesome (bower component)
  • bootstrap-social for Facebook button (bower component)
  • github-markup to show about page this readme document

Installation step by step :

  • git clone ...
  • bundle install
  • input seeds.rb with list of your registered friend (FacebookFriend.create(name: 'Werner Heisenberg'))
  • rake db:migrate
  • rake db:seed
  • rake bower:install
  • rake bower:resolve
  • rails g figaro:install
  • input all required environment variables

About

Simple rails apps to verify that visitors is website's owner's friend & the name is registered on database.

Resources

Stars

Watchers

Forks

Packages

No packages published