Home » Express.js

Tag Archives: Express.js

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 »

Query in graphql

Bipartite Graph

Hello readers. In this tutorial, we will understand and implement the query in graphql. 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 faster, simple, and easier to ...

Read More »

Mutations in graphql

Bipartite Graph

Hello readers. In this tutorial, we will understand and implement mutations in graphql. 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 faster, simple, and easier to implement ...

Read More »

Expressjs and Knexjs sql query builder

Bipartite Graph

Hello readers. In this tutorial, we will understand the knexjs sql builder library in expressjs application and perform some crud operations. 1. Introduction knex sql builder library for javascript that provides an easy interface to access a database and perform all the related operations. It supports multiple database engines like Mysql, Postgresql, SQLite, Oracle, and many more. It supports features ...

Read More »

Postgres and Graphql

Bipartite Graph

Hello readers. In this tutorial, we will bring in the postgres (running as a Docker container) to integrate with graphql and implement the CRUD operations. The application will expose different endpoints with the help of the apollo server. 1. Introduction GraphQL is an API syntax that defines how to fetch data from one or more databases. It was developed by ...

Read More »

Apollo server in express js

Hello readers. In this tutorial, we will implement the Apollo server in graphql and express js. Apollo server is an open-source graphql server and works with many nodejs http frameworks or can run its inbuilt express server. 1. Introduction GraphQL is an API syntax that defines how to fetch data from one or more databases. It was developed by Facebook ...

Read More »

Express-js and graphql

Hello readers. In this tutorial, we will implement GraphQL with express-js. 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 faster, simple, and easier to implement It follows ...

Read More »

Publishing & Subscribing to AWS SNS Messages with Node.js

Hello. In this tutorial, we will see publishing and subscribing to AWS SNS Messages with Node.js. We will understand AWS SNS and create a simple application that will interact with SNS with the help of exposed endpoints. 1. Introduction AWS Simple Notification Service (SNS) is a cloud service for delivering notifications from applications to subscribed endpoints and clients. It is ...

Read More »

PostgreSQL with Node.js and Express.js

Bipartite Graph

Hello in this tutorial, we will understand how to create a RESTful API in a Node.js environment running on an Express.js server and using a PostgreSQL database. The tutorial will cover the CRUD operations on the API which will execute the corresponding database commands. 1. Introduction RESTful API stands for the standard web service interface used by the applications to ...

Read More »

MySQL with Node.js and Express.js

Bipartite Graph

Hello in this tutorial, we will understand how to create a RESTful API in a Node.js environment running on an Express.js server and using a MySQL database. The tutorial will cover the CRUD operations on the API which will execute the corresponding database commands. 1. Introduction RESTful API stands for the standard web service interface used by the applications to ...

Read More »