Getting Started with Serverless Angular Universal on AWS Lambda
You can build search-engine optimized (SEO) friendly single page applications (SPA’s) with Angular Universal, a technology that runs your Angular application on the server. And you can reduce the cost of running those applications with AWS Lambda, an event-driven, serverless computing platform provided as a part of Amazon Web Services (AWS). This post will show you how to build and deploy Angular Universal projects on AWS Lambda using Serverless Framework, an open-source command line interface for building and deploying serverless applications.
In this post we will:
- Create an Angular application that contains two routes and makes calls to an external API
- Add server-side rendering for SEO purposes
- Set up a Serverless Framework framework configuration
- Deploy the app on AWS Lambda
To accomplish the tasks in this post you will need to create an AWS account and install the following:
- Node.js and npm (The Node.js installation will also ...
You know that awkward feeling when you get a nice text from a friend but for some reason, you don't have their number saved? You can't remember and it’s too late for you to respond with, "I'm sorry. Who is this?"
We're going to save you from the embarrassing moment of not knowing who it is by building an app that will let you identify numbers on the go over text.
How We’re Going to Avoid This Problem
Our app will take advantage of three Twilio APIs:
- Functions: the serverless environment which will hold our app
- Lookup: to look up the phone number and see who it belongs to
- SMS: to send us a text with the phone number.
The combination of these three will allow us to send a text with a phone number to our Function which will then perform a Lookup and respond to ...
How to Create a Local WordPress Setup in 5 Minutes using Valet
As a WordPress developer, I’m always looking for the lightest solution to spin up a local development environment for new projects. I know that some devs swear by Vagrant and Docker, but when you’re local environment takes more resources than your operating system, it makes you wonder if there's a better way.
In my agency days I used a MacBook Air for development, which is notorious for running out of space and memory. Just in case you are in the same boat and you want a quick, clean solution to spinning up new WordPress environments, I can’t recommend Valet by Laravel enough. Valet is a Laravel development environment for Mac minimalists that doesn’t rely on Vagrant or Docker to load a separate operating system.
For this tutorial we’ll assume the following:
Travel the World with FlyoverKit in Swift
I was a bit jealous to see some of my peers visit multiple cities and countries after graduation. What if we could build an app that could take us to all those places instead? FlyoverKit is a Swift library that presents you with "stunning 360° flyover views of various monuments on a MKMapView." This post will go over how to see different sights with FlyoverKit by generating a random location at the click of a button. The Sagrada Familia and the Eiffel Tower (shown below) are just a few of the locales we'll be flying over in this post.
In part two of this multi-part series, we will go over how to travel the world with FlyoverKit with speech recognition in Swift.
This post uses Xcode 10 and a Mac which you will need to follow along. Preferably you will also have a physical iOS device to test ...
Twilio response to Voxox data breach
On Friday, November 16, 2018, Twilio became aware of an incident regarding Voxox, a wholesale SMS provider, in which an unsecured database was accessible to the internet and exposed details of SMS messages and the companies that sent them. Media articles report that many of these SMS messages contained sensitive information such as authentication passcodes and delivery tracking numbers linking to unauthenticated details on the web. The vulnerability was uncovered by security researcher Sébastien Kaul.
Trust is a top priority for Twilio. We take issues like this very seriously and quickly sought to understand the impact of this incident for Twilio’s customers. This blog post details our findings and will be updated if any new information comes to light.
Upon learning of this incident, Twilio triggered our incident response process to examine whether or not this wholesale SMS provider, Voxox, was in use by the Twilio ...
4 Ways Twilio’s Product Releases will Advance Nonprofit Tech
In case you missed SIGNAL this year, we put together a recap of Twilio’s launches at our annual conference. Here are the top 4 ways this year’s product launches could shift the nonprofit tech landscape:
1: Secure Donations Over the Phone
Thousands of organizations – from your local radio station to the Red Cross – raise funds over the phone. But handling credit card information is still a tricky process: either your phone operators are handling sensitive payment data, or you must refer your donors to a payment portal. With Twilio’s PCI-compliant <Pay> verb, you can now seamlessly and securely accept donations over the phone.
Here’s how it works: your phone agent initiates a payment flow in which your donor hears a verbal prompt that walks them through entering their ...
Twilio-Powered Air Quality Texting Service
With wildfire season upon us, use this handy texting tool to find out what the air quality is in your area. Simply text your zip code to (415) 212-4229 for air quality updates. You can also add “map” to the text to be sent an image of your region.
This service isn’t just useful for individuals with limited access to smartphones or the Internet. It also alleviates the load put on air quality sites like AirNow, which are often overloaded and unavailable during wildfire season due to the spike in traffic. Texting this number instead is a great way to get the same information without bogging down those sites, helping them to stay up for others who need to access them.
Spread the word and stay safe! If you’re interested in nerding out over the code, feel free to check it out on GitHub, and if you have ...
How to Create an iCal Calendar Feed with PHP using Laravel Lumen
iCal, short for iCalendar, is an internet standard file format used to store calendar information. Being a standard format, it is compatible with most online calendars, giving you access to important dates regardless of your preferred client (Google Calendar, Outlook Calendar, Apple Calendar, etc.). Even popular online services use the iCal format to help their users remember important dates. Airbnb, for example, uses the iCal format to store room availability giving users the ability to export their Airbnb calendar and view it on an external calendar.
In this tutorial, you’ll learn about the iCal format and how to create an iCal calendar feed using Lumen, a PHP micro-framework by Laravel that allows you to quickly build elegant APIs.
For this tutorial, you will need:
- A PHP development environment
- A global installation of Composer
- A global installation of ngrok
- A PostgreSQL Database
The iCal Object
Below is ...
Built with Twilio Video: LearnCube Virtual Classroom
Before eLearning, a student needed to commute across town or even move to a different country to get a quality education. Improvements in technology, especially in WebRTC, has taken the hassle out of connecting students with great teachers and schools.
I’m Alex from LearnCube, virtual classroom software that specializes in helping language-learning and academic tutoring companies teach online.
When we started four years ago, we made a bet that WebRTC would be the video technology of the future. Users much prefer the seamless experience of not having to download an external app or software. The quality has been getting better every year and it’s already superior to many many established video-conferencing providers.
We became a Twilio customer for Programmable Video in late 2017 after learning that Twilio had acquired Kurento. What we found was a quality video platform to embed in our virtual classroom software at an affordable ...
Saying Happy Birthday to my Grandma with #TwilioIoT
When it came to my Grandma 90th birthday I was stumped about what to get her as a gift. She has been a big influence in my life and I wanted to do something that showed that. I knew I wanted to integrate Twilio in some way because when she was younger she was a switchboard operator for Bell Telephone. Then it hit me like a ton of phones. I will create a hardware device with a Programmable Wireless SIM and a Grove Button. When grandma presses the Grove Button a voice call will be routed to her phone and an operator will tell her how much I love her and wish her a happy birthday.
What I needed to send some birthday love
For this project you will need following components: