Hello. In this tutorial, we will understand and implement the google sign-in integration with the nodejs application using passport and passport-google-oauth2 modules. 1. Introduction Passport.js is an authentication middleware designed for Nodejs. passport-local uses the passport strategy for authenticating with a username and password. The module helps to authenticate using a username and password in the nodejs applications. If you ...
Read More »Home » Web Development »
Nodejs Nodemailer example
Hello. In this tutorial, we will understand the nodemailer module in a simple nodejs application. We will set up a fake smtp server (e.g. smtp4dev) for localhost development and understand the package implementation. smtp4dev is an open-source service that emulates an smtp email server for email testing and debugging purposes. 1. Introduction Nodemailer is an npm module used for sending ...
Read More »Nodejs and graphql
Hello readers. In this tutorial, we will implement GraphQL with nodejs and focus on creating a hello world application. 1. Introduction GraphQL is an API syntax that defines how to fetch data from one or more databases. It was developed by Facebook to optimize the RESTful API calls. It is a data query and manipulation language for API’s. It is ...
Read More »Python Hello World Example
In this example, we will show you a Python Hello World example. 1. Introduction Python is an easy-to-learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many ...
Read More »OOP Python Tutorial
1. Introduction This is an article about oop in python. Python can be used for developing software and executing the code. Python is a programming language that has dynamic types. Python started off in a research firm based at Netherlands. The goal of this language was to reduce the gap between the shell commands syntax and C. The motivation of the ...
Read More »How To Install Python On Linux
In this article, we will explain how to install Python on Linux. Python is definitely one of the most infamous programming languages. Python is very easy to learn due to the simple syntax, and high readability. This makes it a top choice among developers. Apart from that, Python’s versatility also makes it a preferred programming language. Let us now go ...
Read More »Download File Using Python Flask
Hello in this tutorial, we will create a file download functionality through python flask and host it on Docker in a containerized environment. 1. Introduction A common feature of any web application is to provide support to the file upload and download utility. In python programming, flask provides this functionality where all we need is an HTML form with the ...
Read More »Run Docker Commands in Python
Hello in this tutorial, we will create a simple python flask application and run the docker commands from the python script. 1. Introduction Flask in python programming helps to build web applications. It is easier than Django’s framework and requires less base code to implement a simple web application. To set up the application we’ll first require to install python. ...
Read More »Upload a File with Python Flask
Hello in this tutorial, we will create a file upload functionality through python flask and host it on Docker in a containerized environment. 1. Introduction A common feature of any web application is to provide support to the file upload utility. In python programming, flask provides this functionality where all we need is an HTML form with the encryption level ...
Read More »Using Python with Jenkins
In this article, we will explain how to use Python with Jenkins. We will look at the following aspects: What Jenkins is?Jenkins API in PythonInstall Python PackageCreate a Jenkins client You can also check this tutorial in the following video: Jenkings Tutorial For Beginners – Video 1. What is Jenkins? Jenkins is a CI/CD tool developed in Java. It was ...
Read More »