
Build a cryptocurrency news site with Ruby on Rails by connecting to a third-party API, parsing data, and displaying automatically updating articles with images and links.
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/
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.
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 Text from the official site, or your preferred editor, and install Git Bash to enable SSH keys for GitHub connections.
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 toolbelt to connect your terminal to heroku, set the path on Windows, install node, and verify with heroku --version to prepare Rails deployment.
Learn to install Ruby on Rails using a Windows installer, choosing a Ruby version, and configuring paths, Git Bash, and Bundler to start your Rails project.
RailsInstaller.org is down, you can find the installer here:
https://web.archive.org/web/20210306035811/http://railsinstaller.org/en
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 a new rails project named crypto news, install the required gems with bundle install, and run the rails server powered by Puma to view the app at localhost:3000.
Explore the Rails file structure from the gem file to the app folder, and understand how controllers, views, models, and routes work together.
Learn to scaffold a Rails app using generators to automatically create a home controller, index view, and routes, then run the app to see the page.
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.
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.
Install the bootstrap CSS framework in a Ruby on Rails project by adding the bootstrap gem, running bundle install, and updating assets to apply cards and other components.
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.
Create dynamic navigation links in Rails using link_to with embedded ruby, referencing routes like home_prices and root_path, and apply classes for a styled nav bar.
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.
Fetch crypto news from the API, parse the JSON response, and display the results on the Rails index page.
Parse API data by isolating the data array and ignoring ads. Loop through each news item to extract titles, images, source info, tags, categories, upvotes, and downvotes.
Extract and display specific API data in a Ruby on Rails app by looping through news blocks and outputting titles, bodies, images, and read more links.
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.
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.
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.
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.
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.
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.
Learn to wire a form to a Rails API, update the home controller and index to fetch and display quotes, rename prices to quote, and implement basic error handling.
Implement basic error handling in a Ruby on Rails app by adding conditional checks for the symbol parameter in the home controller and view.
Implement error handling for quote responses on the crypto price and news pages, display clear messages when symbols are invalid or the api fails, and move nested logic to the controller.
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.
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!