Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Build a Cryptocurrency News Site With Ruby on Rails
Rating: 4.6 out of 5(53 ratings)
1,726 students

Build a Cryptocurrency News Site With Ruby on Rails

Pull Crypto News From An API and Build A Website With Ruby on Rails!
Created byJohn Elder
Last updated 11/2023
English
English [Auto],

What you'll learn

  • Introductory Ruby on Rails
  • How to Build API Driven Websites With Rails
  • Set up a virtual Development Environment
  • How To Connect to Third Party APIs
  • How To Get Crypto Price Data
  • Basic CSS with Bootstrap 4.1
  • How To Use Instance Variables
  • How To Use Forms With Rails
  • Understand The Rails Controller
  • Basic Error Handling

Course content

1 section32 lectures2h 20m total length
  • Introduction1:27
  • First Things First: How To Get Support Fast!0:09

    Check out my student Facebook Group...

    It's a great place to get fast support for this course from me, to interact with other students, to post your projects and code, and to access course announcements and extras...

    Join Now!

    https://www.facebook.com/groups/codemycom/

  • Rails Overview1:51

    Download node, install Ruby on Rails, set up a text editor and a terminal such as Git Bash, and use the Heroku toolbar to push code for hosting.

  • Install Node.js5:03

    uninstall any existing node.js to ensure the latest lts version, then download and install from nodejs.org, and restart your computer before we get started.

  • Install Sublime and Git Bash Terminal4:55
  • Create SSH Key4:16

    Generate an ssh key in the Git Bash terminal by creating a hidden .ssh directory, running ssh-keygen, and saving the key there for secure pushes to GitHub and Heroku.

  • Install The Heroku Toolbelt4:07
  • Install Ruby on Rails4:10
  • Update!0:02

    RailsInstaller.org is down, you can find the installer here:
    https://web.archive.org/web/20210306035811/http://railsinstaller.org/en

  • Create Test Project and Handle Errors11:28

    Create a test Ruby on Rails project to verify installation, install bundler, resolve gem dependencies via the Gemfile, and troubleshoot installation errors (such as sequel light) with Google guidance.

  • Create New Project and Run Server6:52
  • Ruby on Rails Layout Walkthru3:50

    Explore the Rails file structure from the gem file to the app folder, and understand how controllers, views, models, and routes work together.

  • Creating The First Webpage With The Generator3:37
  • Creating A Second Webpage Manually4:10

    learn to manually create a second webpage in rails by adding a home prices action, a prices view, and a route, then set the root to the hello world page.

  • Understanding Application.html.erb3:29

    Learn how application.html.erb defines the site-wide layout in Rails, with the yield tag injecting page content and shared nav bars and footers, before styling with bootstrap via the gem.

  • Installing The Bootstrap CSS Framework5:44
  • Adding a Navbar5:19

    Add a top navigation bar to a Rails app by creating a _nav_bar partial and rendering it in the application layout, with bootstrap styling.

  • Creating Links in Rails3:26
  • Crypto API Walkthru3:46

    Explore using the crypto compare API to pull crypto news with image and full article links, plus price data endpoints in USD, EUR, and JPY, with free access.

  • Calling the Crypto API3:49

    Fetch crypto news from the API, parse the JSON response, and display the results on the Rails index page.

  • Making Sense of the API Data2:32
  • Output Specific API Data5:40
  • Formating The API Output4:55

    Format the API output with bootstrap cards featuring image, title, description, and read more button, then render dynamic news stories with Ruby-driven loops that auto update as new data arrives.

  • Getting Price Data API3:52

    Pull price data from the crypto compare service to show current prices in a display format, handle multiple symbols, and plan a flexible loop to work with unknown keys.

  • More Price Data5:04

    Loop through crypto data with Ruby's each, access key–value pairs, and display current price, 24-hour high/low, market cap, and daily volume for top coins.

  • Creating a Table With Price Data6:17

    Create a Bootstrap table to display cryptocurrency price data, with columns for name, price, 24-hour high, 24-hour low, and market cap, using a striped and bordered table with hover.

  • Building the Lookup Form3:37

    Convert the navigation bar form to a Rails form_tag targeting home prices path, add a text_field_tag for the symbol with a placeholder, and plan route and controller setup for lookup.

  • Adding Functionality To The Lookup Form3:50

    Create a post route to the home/prices action, wire the form to the controller, and convert input to uppercase before sending it to the API for lookup.

  • Pricing Output4:37
  • Error Handling Part 13:23
  • Error Handling Part 24:55
  • Bonus Lecture10:10

    Wraps up the course and promotes code tv lifetime membership. Save $200 for three days to access 60+ courses, PDFs, and completion certificates for a $49 fee with coupon Udemy.

Requirements

  • No programming skills or special tools are necessary to take this course
  • You just need a computer with Internet access and a Web Browser

Description

Cryptocurrencies are all the rage right now. Wouldn't it be cool to build a website that shows Crypto news automatically? That's what we'll learn in this course!

We'll build a website using Ruby on Rails and Bootstrap that connects to a free third party crypto API.

We'll be able to pull news stories, crypto price data, and all kinds of cool stuff, and output it onto the screen of our website automatically. 

Who Should Take This Course?

This course is aimed at the beginner. You don't need to know Ruby, or the Rails framework, or Bootstrap...or anything at all...to take this course. I'll walk you through it all; step by step.  If you already know the basics of any of those things, you'll be fine too. You'll still learn some cool things along the way!

What Tools Do You Need To Take This Course?

You don't need any special tools to take this course. We'll be using a free online development environment pre-loaded with Ruby on Rails. Or you can feel free to download rails directly to your computer (if you know how) and follow along that way.

What if you don't like the course?

I offer an unconditional, 30-day Money back Guarantee.  If you aren't happy for any reason, you get your money back! No hoops to jump through at all.

What if you get stuck along the way?

I'm here answering questions everyday!  Just shoot me a message and I'll personally walk you through it. Unlike a lot of instructors here, I actually care about my students success and I spend a lot of time answering questions to make sure you understand everything.

My name is John Elder and I hope to see you on the inside!

Who this course is for:

  • This course is aimed towards absolute beginners who want to learn the to build Websites with Ruby on Rails
  • Anyone wanting to learn to build web apps
  • Anyone interested in Crypto Currencies
  • Anyone interested in Blockchain News