Callbacks in Javascript

Before diving into callbacks, we have to understand that, in javascript, functions are first-class objects. As such, we can dynamically create, destroy, pass to a function, return as a value a first-class object. Also, it has all the rights as other variables in the programming language have. Callbacks in Javascript If we pass a function … Read more

Advantages of JSON in web programming

JSON stands for ‘JavaScript Object Notation’. We use JSON for storing and exchanging data between server and client (browser). However, there are other uses and advantages of JSON beyond this in web programming. Firstly, we have to understand what JSON is. We can only exchange data in text format. That is why, JSON is a … Read more

JWT Authentication in Express.js using Passport.js

In the previous post, we created an express.js application step by step. If you haven’t read that post, I suggest you do it because the basic steps are covered in the post. Therefore, you can check it out from here: https://nepcodex.com/2019/09/create-an-express-application-with-database/. Also, since we are trying to build a REST API, we will remove many … Read more

Create an Express Application with Database

In this post, we will learn how to create an express application with a database. Not only this, but also we will include a templating engine. For the record, I don’t say you have to do the way I do here, but you will get the gist of what to do. So, let’s begin by … Read more

More Interesting Facts in JavaScript

In the previous post, we saw some basic interesting facts in JavaScript. In the same way, we are going to view other interesting facts in this post. If you haven’t viewed that post, then I suggest you do have a loot at it. More Interesting Facts Var and Let Let’s see the code below: In … Read more

Some Interesting Facts in JavaScript

JavaScript, which was created to “make web pages alive”, is one of the feature-rich language. However, this scripting language has got many peculiarities which is distinct from other programming language. So, here we are going to view some interesting facts in JavaScript. We will see some history and some programming ways which are different from … Read more

Create A Simple Web App In GoLang

Introduction In this article, I would like to create a simple web app in GoLang (in short Go) programming language. Go is a statically typed, compiled programming language designed at Google. As the official website of GoLang says, Go is an open source programming language that makes it easy to build simple, reliable, and efficient software. Go official … Read more

Laravel – Is it a choice for web artisans?

Introduction to Laravel Laravel – Is it a choice for web artisans? The official website of laravel says The PHP Framework For Web Artisans Laravel Official Website Laravel is a modern PHP framework which requires PHP >= 7.1.3 (for Laravel 5.8). Its popularity is increasing everyday, and as we can see below, it’s is the … Read more

Deploy Django App On Heroku (Full Guide)

Important If you have already created your virtual environment and your django app, then you can skip first few sections. In this post, we are going to learn how to deploy django app on heroku. So, let’s begin. 1. Create A Django Project (Skip if already created) I would like to make a directory first … Read more

Django Rest API – From Scratch – Part 1

Let’s create a todo app quickly Project Setup Create a directory where all your project files and environment exist. You shouldn’t install any python module globally because every project has different dependencies. The dependencies should be installed in the scope of a project. Therefore, you should create a virtual environment and activate it as following. … Read more