Tracking Cryptocurrencies via SMS Alarms using JavaScript, Node.js and Twilio

A Scripted Freelance Writer Writing Sample

Bitcoin, Ethereum, Ripple, Bitcoin Cash, Dogecoin, Litecoin—the list of cryptocurrency coins is endless, and new technologies are emerging daily. In this tutorial, we are going to create an app that sends SMS text messages whenever a cryptocurrency's market value crosses a price threshold. Cryptocurrency investors can sit back, let the market do its thing, and wait for opportunities instead of compulsively checking the markets!

Following Along

For the purpose of this tutorial, I have set up a repository with the complete code hosted Github: https://github.com/ssenkus/coin-sms-alert. You will be able to build everything you need by following the steps in this post, but if you want to see what the completed project looks like at any step, you can clone this repository with the following command on your command line interface/terminal:

For each step in this tutorial, you can checkout a branch that has the complete code. For example, running the command git checkout step-1-simple-express-appinside the root directory of the project will give you the exact code this tutorial instructs you to write. (Don't worry, I will give you the specific branch names at each step.) After checking out the branch, run npm installto download any NPM packages that you need for the tutorial step.

If you get stuck, you can run and refer to the branch code to see a working example.

NOTE: To run this Node.js app from the command line, use npm start to start the app and Ctrl C to kill it.

What You'll Need

Before we get started, you will need to have some tools and software installed on your computer.

Node.js – Install the LTS version for your operating system. In this tutorial, I used version 8.9.4

MongoDB – For my local development on Mac OS X, I used Homebrew for my local MongoDB instance. You can choose from a number of options and operating systems here. Install the latest stable version (3.6.4 at the time of writing this article).

Twilio AccountSign up for a Twilio account if you don't have one already. (It's free!)

• Postman – A tool for testing APIs. In this tutorial, we will be interacting quite a bit with our custom API, so it helps to be able to generate and modify HTTP requests on the fly.

• If you haven't yet, sign up for a free Twilio account. After you have an account, you will be able to create your first project. If you already have an account with Twilio, navigate your browser to https://www.twilio.com/console/projects/create and create a project

-

```

```

Subscribe for the latest in Content Marketing & Freelance Writing!


Steve S

San Diego, California, United States •

I am a software engineer living in sunny San Diego, CA.

Customer Ratings 0
0 Customer Favorites
Power your marketing with great writing. – Start your 30-day free trial today! Start Free Trial

While you're here, have you tried Scripted lately?

Used to be a member, but moved on? Heard of it, but never signed up? The current iteration of Scripted will amaze you! Streamline your content writing efforts and build your own team of high-quality writers. It's all you need for content writing. Try it free today and meet your next favorite writer or writers!

Scripted’s talented community of freelance writers have a variety of expertise and specialties. While many of our customers hire writers to execute their content marketing strategy, our writers deliver high-quality content in many formats. You can find content writers, blog writers, ghostwriters, and SEO writers all with experience in your niche.