Gitlab CI/CD for Dockerize Flask and NextJS application

Gitlab CI/CD for Dockerize Flask and NextJS application

Several weeks ago, I wrote an article on building an application with Flask, NextJS and Docker. In that article, I described how to dockerize a flask application for the backend, next for the frontend and Nginx for a reverse-proxy server. I also show a way to run all container easily for local development using docker-compose and deploy it directly to Digital Ocean using docker-machine. The setup, I describe on that article is sufficient enough if you’re still playing around on a toy project. In a real-world, with a team-based, collaborative environment, it’s difficult only to allow a local machine deployment. Therefore, we need technology that allows us safely and automatically deploy the application to the cloud server.

Read more
Create Blog app with NextJS and Contentful API

Create Blog app with NextJS and Contentful API

I have a good experience building a web application using React and NextJS framework. In my last blog, I wrote about setting up a Flask and NextJS application using Docker. This time in this post, I’ll share a tutorial to build a simple blog application using NextJS and Contentful. The steps that I describe here is similar to what I’ve done to display a blog content in Passporr. Please stay tuned, and hopefully, this tutorial will help you to also display a blog in your website without much hassle.

Read more
ComponentConfs 2019 Notes

ComponentConfs 2019 Notes

For the last couple of years, I’ve been regularly gone to a tech conference here in Melbourne. Mostly around general technology/software development conference or specific programming language conference such as Pycon. But this week, I attended my first conference around front-end technology, it’s ComponentsConfs 2019. As far as I understand this is the first time they held this conference where it focuses on front-end framework that is built around components concept such as ReactJS , Angular, VueJS. This post is a collection of notes that I took from each session that I attended.

Read more
Set default node with NVM

Set default node with NVM

I was recently figuring out how to use nvm, and one thing that stood out to me is that I needed to set the default version of node that I wanted to use when opening a new tab.

Because I was new to using nvm it took me a while to find the commands. So, if you happen to find this article while configuring nvm, hopefully you find this useful.

1
2
3
4
5
# Install the version that you would like
nvm install 6.1.0

# Set 6.1.0 (or another version) as default
nvm alias default 6.1.0

Then you can open a new tab and if you run node -v, you should see v6.1.0 (or whichever version you set as the default.

Easy peasy, right? Hopefully this helps you if you’re having some issues!

Your browser is out-of-date!

Update your browser to view this website correctly.&npsb;Update my browser now

×