
Explore building a Rails app with Facebook authentication, from installing Rails on Mac or Windows to generating scaffolds, models, views, and controllers, and deploying to Heroku.
Install Ruby on Rails on Mac or Windows with a step-by-step guide for Rails 4.0 and Ruby 2.0. Follow the Mac Mavericks setup and email help if you encounter issues.
Generate a new Ruby on Rails app from the terminal using rails new, explore controllers, views, and models, install dependencies, and run the local server at http://localhost:3000.
Learn to set up a local git repository, configure user name and email, commit changes, and push to GitHub by creating a remote origin and configuring SSH keys.
Build a bootstrapped landing page in a Rails app by creating a pages controller with a home action, wiring routes and views, styling with bootstrap, then commit and push.
Install and configure simple form in a Rails app, generate a posts scaffold, and tailor bootstrap styling with a generator, migrations, models, controllers, and views to manage posts.
Apply Bootstrap 3 styles to a landing page, using a jumbotron and container. Create a three-column layout, add brief intro text, progress bars, and Rails links.
Implement user authentication in a Rails app with Devise and Facebook Connect, enabling sign up, sign in, and log out, plus post management and database migrations.
Enhance notifications with bootstrap alerts and flash messages, using success and error types, plus a close button. Implement omniauth for flexible authentication with omniauth-facebook and devise.
Configure Facebook integration by creating a Facebook app in developers.facebook.com, enabling web site with Facebook login, and note the app id and app secret for development, production, and sandbox mode.
Create a YAML config file in your Ruby on Rails app to store Facebook API credentials, using two spaces for indentation and preparing for production keys.
Distinguish Rails development and production modes, configure a Facebook app key and secret via a yaml initializer, and set up OmniAuth with Devise for Facebook authentication.
Configure the user model with omniauth and devise for Facebook sign in, adding methods to differentiate new vs existing users and store name, email, provider, uid, and token expiry.
Add a new migration to extend the user table with provider and id fields, run and verify migrations, update initializers and credentials, and push changes to git.
Configure the omniauth controller to handle facebook login, find or create a user from the auth hash, and redirect to sign-in or registration based on persistence.
Configure the application controller to permit name, password, and password_confirmation for sign up, and add current_password for account updates using devise parameter sanitiser.
Set up routes and callbacks in a Rails app by editing config/routes.rb to route Facebook requests to the callbacks controller and wire user-related actions.
Update the authentication views to support Facebook login by conditionally hiding password fields for social sign in, edit Devise views and layouts, and add a Facebook login link.
See the app in action by resetting test data, launching the Rails server, and logging in with Facebook to verify profile info, email editing, and account cancellation from settings.
Add flat design to your web app by installing the flats UI gem, updating assets, and removing link underlines for a cleaner, more engaging interface.
Expand the web app by adding user discovery, profiles, and enhanced posting features, including login with Facebook, posting to Facebook, viewing posts, and personalizing profiles with likes, books, and movies.
Relate posts to users by adding the user_id to posts, migrating the database, and enabling dependent destroy so posts delete with their user, then wire the association.
Build a user-focused web app by adding a users page, implementing index and show actions to display users and their posts, and enabling edit and delete for the current user.
perform cleanup and debugging to improve the post form, remove unused inputs, attach posts to the current user, and redirect to the user profile while fixing a logout memory error.
Implement Facebook authentication in a rails app using the omniauth-facebook gem, configure the user model, retrieve tokens, and commit and push the changes.
Use a Rails console to configure Facebook permissions and test posting on behalf of a user by updating scopes to include email and publish actions.
Explore how to fetch user data with the Facebook API, including profile info, location, books, and profile pictures, and render them in a Bootstrap media object on a web page.
Create and deploy a web app enables creating posts and optionally sharing them on the Facebook wall by adding a 'post on Facebook' boolean, migrating data, and wiring after-create posting.
Implement a verify permissions method in the user model and use conditionals to show or hide the post form checkbox based on Facebook permissions.
Create a new production facebook app, enable website integration, switch to the production domain, note the app id and secret, and update production variables in facebook.yaml.
Deploy a Ruby on Rails app to a server and configure production and development environments in the gem file, installing the necessary gem to manage a database called postscripts.
Deploy a web app to Heroku using the toolbelt, create an app, push to production, migrate the database, then open the app and log in with Facebook.
Are you still waiting for that perfect technical co-founder to build the product of your dreams? If that’s the case then this course is for you!
My name is Tiago and I welcome you to the “Create and deploy a web app in 3 hours”. At the end of lectures you will have the skill to deploy your Ruby on Rails Application and at the same time drive thousands of users to your website through Facebook Integration
After leaving college with a Computer Science Degree I have worked in a multitude of startups gaining experience in User Interface and Experience Design Growth Hacking and my true north Ruby on Rails.
Today I have my own web development company where with the help of my team we craft beautiful web applications for other startups and even incubators.
Why should you take this course you ask? First of all a Ruby on Rails Programmer is very hard to find these days and learning the skill through a real life web application is the best way to go.
Second of all in this course the app you’ll be building uses Facebook Connect which is today the easiest and the most popular way of funnelling more users.
Also we’ll be working with Facebook’s Graph API making the sky the limit in regards to your
creativity.
And last but not least you’ll be able to deploy this app in little more than 3 hours. This is a huge confidence boost and specially important when you want to test the market fast.
As a bonus I’ll be teaching you the latest trends when it comes to design.
We’ll use Bootstrap as a foundation but also applying flat design to make your app look awesome right
from the start.
With this course you’ll get:
* 3 hours of video
* An asciicast with all lecture notes
* The full repository of your finished app.
* And you’ll have my back if you get stuck on
anything.
Join me and let’s make a fricking cool website!