Sign in

Albin Jose
Golang | Node.js | albinjose.me

A stack is an abstract data type that follows FILO (First-In-Last-Out) principle while inserting and deleting elements. Which means the element which is inserted first will be deleted last and the element inserted last will be deleted first. Stack can be implemented using arrays or linked list. Here we are creating stack using arrays in golang. Knowledge of golang slices will be an added advantage.

Basic operation of Stack

These are the operations we are going to implement

Push: Adds element to the top of the stack and return “Stack Overflow” if the stack is full.

Pop: Removes the top most element from the…


File uploading is an important part of the majority of websites, and since GraphQL is getting more and more traction, GraphQL community began asking how can we upload files using GraphQL.

Then Jayden Seric had created a specification for GraphQL multipart request and created an upload package for GraphQL to support multipart request. After that Apollo had added this feature into Apollo Server 2.0. So now we can easily upload a file using GraphQL.

Server Configuration

We are using the apollo-server for creating the GraphQL server. Apollo-Server has a great documentation to get started. So let's create the root directory and install…


Most of the application built requires some sort of searching functionality. In most cases, searching is implemented using third-party applications like elasticsearch and solr. And the problem with these is you need to store data in multiple places, keep them synced. MongoDB’s Full-text search has provided a way to implement search to your application without the use of third-party applications. So if you only require full-text search then MongoDB’s full-text search will help you. There is no explicit support for partial or fuzzy matches, but stemming and stop words are supported. …


Hey guys, Do you want to know how to send an SMS to a phone number.

nowadays many of the websites and apps use text messaging service for important notifications and promotions. In this medium tutorial, I will be showing you how to use Amazon SNS to send text messages to a specific phone number.

Photo by Christian Wiediger on Unsplash

What is Amazon SNS?

Amazon Simple Notification Service(Amazon SNS) is a web service provided by AWS for sending messages to subscribers or endpoints. Amazon SNS has two parts -publishers and subscribers. Publishers send messages to a topic and subscribers who are subscribed to that topic will receive those messages.

Prerequisite


Photo by Azharul Islam on Unsplash

This tutorial will guide you through the steps of creating a simple CRUD app using MEVN stack (MongoDB, Express.js, Vue.js and Node.js). Axios is used for making HTTP requests.

Vue.js is a JavaScript framework for building user interfaces. The advantage of vue over other front-end frame works is its easiness to learn.

Node.js is an open-source, cross-platform, JavaScript runtime environment that executes JavaScript code outside of a browser

Express.js is a web application framework for Node.js.

MongoDB is an opensource, cross-platform NoSQL database used by most modern apps. MongoDB Compass will provide a GUI for MongoDB

Axios is a promise…

Albin Jose

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