Author: Nic Raboy

Upload Files To A Remote Web Service Via A Vue.js Web Application

December 4, 2017 Nic Raboy

A few weeks back I wrote about accepting file uploads in a Node.js application that uses Hapi framework. This was a followup to an article I wrote titled, Upload Files to Node.js Using Angular. What if we wanted to use a different front-end framework instead of Angular?

We're going to take a look at using FormData and Vue.js to upload files, such as images, to a remote web service. Either of the two web services that we've previously created, whether it be with Hapi or Express, will work for this example.

Read More

Send Emails With Mailgun Using Golang

December 1, 2017 Nic Raboy

When building an application of any kind, there may be a need to have it send emails. For example, let's say you're building a script and that script needs to send a report through email when it has completed. Or another example is a web application with a form for collecting user feedback. There are many more application scenarios beyond the two listed.

Now let's say that you don't have your own email server for sending emails.

Sending emails without a server is easy when you use a transactional email service like the Mailgun API. Through HTTP, emails can be sent from any application and for a very affordable price. We're going to see how to send emails using Mailgun with Golang.

Read More

Navigate Nested Child Routes In A Vue.js Web Application

November 29, 2017 Nic Raboy

Not too long ago I had written a few tutorials around navigation in a Vue.js web application. I had written about navigating between routes as well as passing data between routes in the form of route parameters and query parameters.

When developing a web application with a successful user interface, you're going to want to recycle as many features as possible. Using Vue.js, it is possible to create a multiple level UI by assigning child routes to a parent route within the application. This opens the door to new possibilities in navigation.

We're going to see how to use nested routes in a Vue.js web application by assigning child routes and views.

Read More

Manage Cross-Origin Resource Sharing In A Node With Hapi Application

April 5, 2019 (Updated) Nic Raboy

To continue down my path of solving the worlds cross-origin resource sharing (CORS) problems, I wanted to adventure into Hapi, a Node.js framework that I've been heavily using lately. If you're not familiar with cross-origin resource sharing, it is something that frequently comes up when you try to use front-end JavaScript to access content from another host or port.

Previously I had written about exploring CORS in an Express with Node.js application. While Express is probably the most popular framework, it certainly isn't the only framework, which is why we're going to take a look at CORS in Hapi.

Read More

Create A Basic Todo List Application With The Vue.js Framework

November 24, 2017 Nic Raboy

When getting started with a new development technology or framework, a basic todo list style application is often in the examples used for learning. It makes a great example because todo lists often make use of a variety of things such as forms, loops, and other binding events, all while remaining short and easy.

We're going to see how to create a very basic todo list that demonstrates components, form binding, loops, and click events, using the Vue.js JavaScript framework.

Read More

Pass Data Between Routes In A Vue.js Web Application

November 22, 2017 Nic Raboy

A few weeks ago I had written about creating routes and navigating a Vue.js web application. It was a basic example of getting around in an application.

Often, when building navigation into your application, you'll find that you need to pass data from one screen to another. For example, maybe you're following the master-detail pattern where you have a list of data and you get more information about a particular item in the list by drilling deeper.

We're going to see how to pass data between routes in a Vue.js web application using a router and URL parameters as well as query parameters.

Read More

Send SMS Text Messages In NativeScript With Angular

November 20, 2017 Nic Raboy

Not too long ago I wrote a tutorial titled, Use Social Media Sharing Prompts in a NativeScript Angular Application, which demonstrated how to share content from the device. The sharing included locations like Facebook, Twitter, and anything else the platform found appropriate. This included SMS text messages.

Social sharing functionality isn't the only way to access the messaging and dialing features of an Android and iOS device.

We're going to see how to send SMS text messages in Android and iOS via an application built with NativeScript and Angular.

Read More