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