Learn how to make your first open-source contributions

Photo by Markus Spiske on Unsplash

Contributing to open-source is a great way to improve your programming skills, help others and learn how to work in a collaborative environment.

However, many people are put off by the complexity of the projects. They also think that contributing to open-source is all about coding.

But that is not true! You can contribute to open source projects in other ways, such as:

  • Creating supporting materials
  • Reviewing code
  • Translating to other languages
  • Structure and re-structure the code and project structure

Thus, in this article, you will learn how to make your first open-source contributions with the help of…

Learn how to create a custom API inside Nuxt.js

Code on laptop
Code on laptop
Photo by Douglas Lopes on Unsplash.

Did you know you can create custom API endpoints in Nuxt.js? That means you do not have to spin a standalone server. Instead, you can do it straight in your Nuxt application!

In this article, you will see how to do it. You will create a simple Express server with an endpoint that allows you to get data from the database.

Let’s see how to set up a custom API server!

serverMiddleware Property

Nuxt has a property called serverMiddleware that allows you to create additional API routes inside your application.

How does it work? Nuxt creates an instance of connect, which is…

Build an App with Nuxt.js and GraphCMS: Vote Your Favourite Tech Courses

Photo by Glen Carrie on Unsplash

Video version


In this tutorial, you are going to build a voting application for tech courses. The voting application allows people to vote courses from tech so people can find quality courses.

If you like a course and think it’s a quality course, you can upvote it. The more upvotes a course has, the higher it appears on the page.

To build the application, you will use:

  • Nuxt.js
  • TailwindCSS

Without further ado, let’s start building the application!

About GraphCMS

GraphCMS is the first GraphQL native Headless CMS. …

About the new AI application from GitHub

Photo by Roman Synkevych on Unsplash

Will AI replace developers?

Will you lose your job because of AI?

These two are some of the questions I have seen online for a long time. However, they intensified even more after GitHub released the Copilot.

Thus, in this article, you will see an overview of GitHub Copilot and my thoughts about it.

What is GitHub Copilot?

According to GitHub, their Copilot application is an artificial intelligence pair programmer that “helps you write code faster and with less work”.

GitHub Copilot is a Visual Studio Code extension that generates code based on either a docstring, comment or function name. …

A list of resources I used to learn Vue.js as a complete beginner

Night sky
Night sky
Photo by Animesh Chatterjee on Unsplash

In this article, I want to show you the five resources I used to learn Vue.js as a complete beginner. Some of the resources are free, whereas some are paid.

1. Vue Mastery

Vue Mastery is an online learning platform that produces weekly lessons about Vue, and it has both free and premium content. The lessons or tutorials are both in video and article format. Thus, you can choose the format you like most.

The lessons are taught by professional engineers with years of experience in the industry. Moreover, you can find tutorials from the members of the Vue core team.

With that…

Learn how to implement a MySQL database in your Node.js project

Drawing of laptop, plant, crayons, and map on a table
Drawing of laptop, plant, crayons, and map on a table
Image by the author.

In this tutorial, you learn how to use a MySQL database in your Node.js project with Docker. You will build a simple application that allows you to collect email addresses from people.

The technologies used in this tutorial are:

  • Docker
  • Express
  • MySQL

Create the Project Structure

The first step is to create the project structure. For the moment, you need:

  • A .env file.
  • A file with the server/database configuration.

Thus, you can create all the files and folders as follows:

take nodejs-mysql
touch index.js
touch .env

Now, the next step is to run MySQL.

Run MySQL With Docker

To avoid inconsistencies…

Things that should make your path to programming easier today

Hanging life raft
Hanging life raft
Photo by Matthew Waring on Unsplash

There are some things I wish somebody told me when I started learning to program. They would have made my journey easier and smoother.

I did not have anyone to tell me those things, so I want to be that somebody for you. I want to make your programming path less difficult.

Without further ado, let’s see what those are!

1. Be an Active Learner

There are two types of learning, and they differ greatly in effectiveness. The two types of learning are:

  • Passive learning

An example of active learning would be building applications yourself, and an example of passive learning would be…

Learn how to use the “fs” module in Node.js

Glasses on notepad
Glasses on notepad
Photo by Sigmund on Unsplash.

The file system module, or simply fs, allows you to access and interact with the file system on your machine.

Using the fs module, you can perform actions such as:

  • Modifying files and directories.
  • Deleting files and directories.
  • Reading the content of files and directories.

This article will teach you the most common and useful fs methods. Without further ado, let's see what those methods are.

How To Use fs

The file system module is a core Node.js module. That means that you do not have to install it. …

Photo by Pankaj Patel on Unsplash

Learn how to use command-line arguments in your Node.js application

In this article, you will see how to pass command-line arguments to your Node.js application. You will also learn how to access them.

However, before proceeding further, let’s start with some basic stuff. To run a Node.js application, you run the following command in your terminal:

node index.js

Thus, when you run the above command, you can pass any number of arguments. When it comes to command-line arguments, there are two types:

  • key-value arguments such as node index.js myArg=myVal

Now, the next step is to learn how you can access these arguments in…

Learn how to use the new Notion API with Node.js and FastifyJS

Empty resume and laptop on desk
Empty resume and laptop on desk
Photo by Markus Winkler on Unsplash

Notion is a productivity software that allows you to create systems for knowledge management, project management, and note-taking.

They recently released their API to the public. You can use the API to integrate your Notion data to any application you want.

Thus, this article shows you to:

  • use FastifyJS to create the API

Without further ado, let’s start configuring your Notion workspace.

Create Integrations on Notion

Go to your Notion integrations and create a new integration by clicking on the “+ New Integration” button. After that, you will be prompted to fill three fields:

Catalin's Tech

Writing about Vue, Node.Js, AWS, JavaScript, Cloud Computing and Software Development

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store