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
(116 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.

How taking a course works

Discover

Learn

Master

Learn and practice real-world skills and achieve your goals.

About This Course

Published 1/2015
English

Course Description

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.]

What are the requirements?

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

What am I going to get from this course?

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

What 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.

What you get with this course?

Not for you? No problem.30 day money back guarantee.

Forever yours.Lifetime access.

Learn on the go.Desktop, iOS and Android.

Get rewarded.Certificate of completion.

Curriculum

Section 1: Build a Reviews and Ratings Aggregator like Yelp: Get started

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.

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.

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.

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.

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.

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.

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.

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.

Distinguish between Admin users and normal users by disabling the ability for normal users to create a new Restaurant page. Add a first and last name field to the 'Sign Up' page and tell Rails that those new fields are safe.

Learn the 3-step process for generating migrations. Create a page with the ability to add new product listings with a name, description, and price field. Set the homepage to be the new Listings Index page.

Generate a migration to add images to the listings database. Learn to authorize images so they can be sent in the forms, update the forms to give users the ability to upload an image, and display the image in the Index and Show pages for each listing.

Learn how to use CSS with Bootstrap by creating a custom.css.scss file. Customize your app's background-color, font color, and font-family with CSS. Use a Google Chrome extension to find specific web colors to use. Learn how the nth-child CSS selector can identify specific listings to align.

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.

Use Dropbox to host your images online for others to see and use the Paperclip-dropbox gem to upload our files. Install Dropbox on your computer and store your account information in a dropbox.yml file.

Learn to use the command 'rake routes' to find which routes to use for creating new URLs. Add a "Sign up", "Sign in", and "Sign out" button 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.

Learn how to use validations in the Models files to verify that the user-submitted data satisfies certain criteria such as filling in form fields, uploading images, and inputting prices greater than $0.

Link Listings with Users in the Controller file so that the Listing database can track the User that each Listing belongs to. Learn how Models, Views, Controllers work together in Rails to create an app.

Create individual Seller pages that show only the listings each seller has uploaded. First add a new URL in the config/routes file, then update the Controller about this new action, and finally, create a View page for users to see when they visit the new seller URL.

Create a new migration for an Orders database that tracks the address of the buyer. Identify and link the relationship between the Order, Listing, and User databases through unique Listing, Buyer, and Seller IDs.

Tell Rails how to fill out the information for the columns in the Order database by using the unique IDs of the currently signed in User who is placing the order, the Seller ID, and the Listing ID in the URL.

Students Who Viewed This Course Also Viewed

SHARE

Instructor Biography

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.