One-stop Ruby on Rails: Build Web Applications from Scratch
4.6 (174 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,679 students enrolled
Wishlisted Wishlist

Please confirm that you want to add One-stop Ruby on Rails: Build Web Applications from Scratch to your Wishlist.

Add to Wishlist

One-stop Ruby on Rails: Build Web Applications from Scratch

Master Ruby on Rails, HTML, CSS, APIs, and other web technologies by building Etsy, Yelp, and Craigslist from scratch.
4.6 (174 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
1,679 students enrolled
Created by Alex Yang
Last updated 1/2015
Current price: $10 Original price: $145 Discount: 93% off
5 hours left at this price!
30-Day Money-Back Guarantee
  • 18.5 hours on-demand video
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Prototype any MVP for a web app
  • Install and setup Ruby on Rails
  • Create new web applications in Ruby on Rails and launch it live on the web
  • Style websites with front-end tools like CSS, Javascript, and Bootstrap
  • Scrape data from any website and store it in a database
  • Write Ruby scripts to automate tasks
  • Parse, clean, and analyze data
  • Read technical documentation including Ruby gems and web tools
  • Master Github and Heroku
  • Learn to work and code in the command line
  • Add Google Maps integration with API
  • Work within the Rails console to manipulate data
  • Add online payments and bank transfers using the Stripe API
  • Host images with Amazon S3 or Dropbox and embed images on any site
  • Implement multiple types of user accounts and login
View Curriculum
  • Specific software will be introduced in the course along with installation and setup instructions.
  • All software used in this course is open sourced and free.
  • No prior experience needed

Project based learning is the most effective type of learning.

Whether you're learning to code to become a web developer, or just looking to prototype your MVP, we believe working on projects is the most effective way to learn. Instead of being taught theory, you’ll learn by building working applications. You understand the big picture concepts before filling in the details. You learn to build apps the way developers do — one feature at a time.

Most people feel demotivated when they take traditional programming classes, but with our course, you’ll make rapid progress on your projects so you always stay engaged. Along the way, you learn in-demand tech skills through practice and solving problems with available resources, not through brute memorization.

Our course walks you through building four comprehensive web applications you will launch live on the web including:

1) A restaurant review site for people to browse and rate local eateries:

Admin users can add new restaurants while signed in users can leave star ratings with a review. Anyone can search through the listings index for specific restaurants.

2) A two-sided marketplace for buyers and sellers:

Sellers will be able to upload listings with images, manage their inventory through a dashboard, and charge credit cards with the Stripe API. You'll learn how to take a small percentage cut of each transaction and transfer payments to your sellers.

3) A web scraper to collect data:

Access a webpage's HTML and identify proper selectors for parsing through data. Write a script in the Ruby programming language to scrape Wikipedia and Airbnb and export the information into a database.

4) Apartment Rental Site like Craigslist:

Gather data through an API and use that data to build a custom Ruby on Rails web app. You'll write a script in the Ruby programming language to collect and process the data you receive, then save the information to a database, and build a front-end interface for users to interact with it. By the end of the course, you'll have learned to automate the data collection process and have an app that's live on Heroku.

5) Bonus Feature videos:

Learn how to code your site in multiple lanugages, add social media features, and more with a series of bonus features to feature customize your app.

Web development topics covered:

  • Ruby on Rails
  • HTML and CSS
  • jQuery
  • JSON
  • Bootstrap
  • Coffeescript
  • Stripe API
  • Google Maps API
  • Git and Github
  • Heroku

Web scraping topics covered:

  • Data scraping
  • SQlite
  • CSV databases
  • Data analysis
  • Data scraping
  • Data cleaning
  • Parsing data files
  • CSV databases
  • Script automation

By the end of this course, your web applications will be ready for real users and you can start collecting payments through Stripe immediately. You'll have the skills, experience, and portfolio to get a job as a web developer or build out any idea of your own.

[Note: This is the BaseRails bundler pack of four projects included in this one course. You may start with any project as each course is self-contained.]

Who is the target audience?
  • This course is for entreprenurial-minded people who want to learn to build web applications for their ideas.
  • This course is for people who want to learn Ruby on Rails for building web applications.
  • This course is for data enthusiasts who want a general introduction into using Ruby and APIs to scrape data on the web and build a web application around real time data.
  • This course is for hackers who want to learn to prototype MVPs of any idea quickly and effectively.
  • This course is for anyone working in technology who wants to know how products are built.
  • This course is for people who want a project-based approach to learning how to code.
  • This course is for people who want to code an online marketplace, an apartment rental site, or a reviews site.
  • This course in NOT for you if you want to become a software engineer and learn programming syntax and theory from the ground up.
Compare to Other Ruby On Rails Courses
Curriculum For This Course
129 Lectures
Build a Reviews and Ratings Aggregator like Yelp: Get started
3 Lectures 12:13

Install the latest versions of Ruby on Rails, Xcode, iTerm2, Homebrew, Git, and Sublime Text on your Mac computer. Set up a shortcut to launch Sublime Text from your terminal.

Installation for Mac Users

Install the latest versions of Ruby on Rails and Sublime Text on your computer. Launch your terminal with Git Bash and set up a shortcut to launch Sublime Text from your command line.

Installation for Non-Mac Users
Create our Website
5 Lectures 29:12

Learn common terminal commands and create a new app Rails. Launch your Rails server and explore localhost:3000 to see your new app.

Create a New App

Generate a Pages controller in Rails and create an "About" and "Contact" page for your app. Add content to your pages with HTML

Add Our First Pages

Add links for the "About" and "Contact" URLs and learn how to create links to external sites. Organize common code into a single location in the Application Layout file to decrease code redundancy.

Add Links

Learn the three-step process for generating migration in Rails. Create a Restaurants database with name, address, phone, and website fields.

Add Restaurants

Replace the default Rails homepage with the Restaurant Index page that you generated. Use 'rake routes' to find which routes to use for existing URLs.

Set the Home Page
Get Started with Bootstrap
4 Lectures 30:52

Install a front-end tool called Bootstrap through the Bootstrap CDN method. Add the table class to the Restaurant Index page and layer additional options on top.

Install Bootstrap

Learn to work with Bootstrap by reading the documentation on their site. Use Bootstrap to add a navigation bar and add the "About" and "Contact" links.

Add a Navigation Bar

It's best practice to simplify code files for readability and debugging. Learn how partials and embedded Ruby work to create a navbar, footer, and Bootstrap partial to store our code.

Simplify Our Code

Use Bootstrap classes with embedded Ruby code to add better spacing and design to our Restaurant forms. Wrap your pages in a fluid-container for a responsive layout.

Build Beautiful Forms
Launch our Site
3 Lectures 24:52

Save your code using a version control system called Git, then create a new Github account to save your code online in a repository. Generate a new SSH key to authenticate your account on your computer.

Set Up Github

Learn how to commit and push your code to Github. Start by creating a new repository on Github for your app. Learn the four commands you need to run each time you save your code to Github.

Save Our Progress

Learn how to launch your app live on the web by hosting it for free on Heroku. Set up Heroku for the production and development environments on your computer and launch your app live on the web for the first time.

Deploy on Heroku
Add Images
4 Lectures 33:03

Add images to your Restaurants pages with the Carrierwave gem. Add a new column to your Restaurants database to store images and a file_field helper to upload images in your New Restaurant form. Use strong parameters to tell Rails that your image form field is safe.

Add the Carrierwave Gem

Use the Fog gem to link Carrierwave with Amazon S3, where we'll set up image hosting service to people can see your images live on the web. Store localhost images on your local computer and Heroku images on Amazon S3.

Image Hosting with Amazon S3

Use the Figaro gem to pass your confidential Amazon S3 account information to Heroku without having it show up on GitHub for anyone to see.

Protect Our Passwords

Install ImageMagick and MiniMagick to use Carrierwave options to resize your images to a preset thumbnail width and height.

Resize Images
Add Front-end Design
3 Lectures 19:16

Create a homepage banner with Bootstrap's jumbotron class. Add a custom.css.scss file to write CSS code to format the background-color, border, and font inside the banner. Learn to use Google Chrome extensions to find specific web colors.

Create a Custom Banner

Use CSS to format the background color, links, and logo in the navigation bar. Use the padding property to push out some area around the content.

Format the Navbar

Download and save a static image to your Amazon S3 account and use Ruby code to embed it to your homepage.

Add Static Images
Add Users
4 Lectures 43:10

Install and set up a popular gem called Devise to give our app the ability to have multiple user accounts. Verify that it works by signing up with an email and password.

Install Devise

Convert the HTML links into embedded Ruby with the link_to Rails helper. Learn to use the command 'rake routes' to find which routes to use for creating new URLs. Add the "Sign up", "Sign in", and "Sign out" links to our navigation bar. Learn how to add conditional links so different users see different links depending on whether they are signed in or not.

Insert Conditional Links

Improve the look and feel of the Devise forms for signing in and signing up. Use Bootstrap to add sleek buttons to the forms.

Style Devise Forms

Add some custom Ruby and jQuery code to customize the Devise alert and error messages when users don't fill in the form properly. Use iQuery to add a close button to the messages.

Customize Alerts and Error Messages
Add Reviews Part 1
4 Lectures 30:02

Create a Reviews database by understand how the 'Rails generate scaffold' command works and how Creating, Reading, Updating, and Deleting (CRUD) are the available four actions for any resource. Get a sense for how Models Views Controller works for the Reviews database.

Build a Review Scaffold

Generate a migration to add a new column in the Reviews database to track the User ID that each Review belongs to. Tell Rails how the Users and Reviews databases are linked.

Link Reviews to Users

Learn how to use the Rails Console to assign a User for every Review in the database. Modify existing localhost and Heroku data.

Modify Data with Rails Console

Customize the default scaffold URLs to include only the ones that you need. Delete the View pages, disable routes that point to those URLs, and redirect your links to different pages.

Remove Unnecessary URLs
Add Reviews Part 2
3 Lectures 27:57

Generate a migration to add a new column in the Reviews database to track the Restaurant ID that each Review belongs to. Tell Rails how the Restaurants and Reviews databases are linked. Nest the Restaurant ID in the URL and use Rails Console to figure out specific Restaurant IDs on Heroku.

Link Reviews to Restaurants

Use 'rake routes' to create proper links for each individual restaurant, the 'Edit Review' page, and a "Write a Review" link.

Nest Resource URLs

Display the specific reviews for each Restaurant on its own page. Use Bootstrap's grid layout to format the page into two columns.

Display Reviews
Add Star Ratings
2 Lectures 18:24

Download and set up the jQuery Raty plugin to convert numerical ratings to star ratings.

Convert Numbers to Stars

Calculate an average star rating for each Restaurant and display it on the Restaurant's Show page along with the total number of reviews written. For each Review written, turn raw text into HTML and display the reviews in reverse chronological order.

Layer on More Options
22 More Sections
About the Instructor
Alex Yang
4.2 Average rating
394 Reviews
10,794 Students
2 Courses
Hacker and Instructor at BaseRails

Alex graduated from Harvard with a degree in Applied Math and spent two years at the Boston Consulting Group in New York.

He was always interested in the tech space and eventually decided to quit his job to become an entrepreneur. He taught himself to code to prototype his business ideas, but the process of wading through coding exercises, one-off videos, and programming books was slow and ineffective.

He created this course to save others the time and hassle he went through when learning to build web apps. Currently, he works on BaseRails and develops curriculum for Codecademy to teach little kids how to program.