2017-06-13
#dokku
In the previous part, I implemented the UI using Vue. In this part, I am going to write about the deployment process using dokku
. This simple chat app is split into 3 separate services api
, faye
and web
. Each service can be deployed independently without affecting other running services.
2017-05-28
#nodejs
#express
#javascript
#faye
#vue
In the previous part, I implemented a simple pub/sub server to push messages to the client side. In this part, I am going to implement the user interface using
Vue
2017-05-13
#nodejs
#express
#javascript
#faye
In the previous part, I added the basic authentication and authorization to the API service. In this part, I am going to implement the pub/sub messaging service using
Faye and integrate it with the API service.
2017-05-03
#rtorrent
#dokku
#docker
Having a BitTorrent seedbox is convenient in many ways. Few days ago, I needed to download something (totally legal!) using BitTorrent, but I don’t want to open my laptop 24/7 for seeding. Since I already have a dokku server up and running, I can just set up a BitTorrent seedbox using
rtorrent and
ruTorrent
2017-04-25
#nodejs
#youtube
#javascript
In my current project, I need to grab data from youtube gaming pages. I have done similar thing previously, but with the normal youtube channel pages. The new gaming pages are rendered in a completely different way. It took me some digging around the source code to finally be able to figure out a way to extract data. This blog post summarizes what I have done to get the data out of a youtube gaming channel page.
2017-04-18
#nodejs
#javascript
#express
This is the second and final part of “Let’s build an API framework”. In the previous part, I wrote about the general design and requirements for the API framework that I am going to build. In this part, I am going to implement it. The actual implementation might be slightly different from the design but the ideas stay the same.
2017-04-05
#nodejs
#javascript
#gulp
#mocha
#istanbul
Yes… you read that right, I am still using gulp
. Recently, with all the hype and the fact that most of the people I know are switching to npm scripts, gulp
seems to be something in the distant past. But, here I am, still using gulp
because with gulp
or similar task manager libraries, you can share the tasks between your projects. Or you can even have a set of tasks that you usually use in your side projects in one git repository and re-use them every time you have some brilliant ideas and want to roll a new side project (and quickly abandon it like I often do).
2017-03-15
#nodejs
#javascript
#express
Today, I am going to take a break from the simple chat app series because I want to build something else for a change. During my work, I usually have to work with APIs a lot from integrating with existing APIs to building a new one for internal or external uses. I have tried a lot of different frameworks and even built one for my master’s thesis.
2017-03-08
#nodejs
#express
#javascript
#passportjs
Previously, I had the basic API server up and running. In this part I am going to continue with the authentication and authorization (via Github). The purpose is to have a simple login system where the users need to log in (via Github) before they can send messages.
2017-02-27
#nodejs
#express
#javascript
I have been keeping my eyes on
Vuejs for quite some time, and I finally decided to build something with it. I am going to build a simple chat web app using Faye, Express and Vue. I have been using Faye and Express for several years, Vue is the new guy here.