Tag: express

How to build a communication microservice to send text messages using Twilio and Express?

Reading Time: 7 minutes Twilio is all about empowering communication in a convenient and timely manner. In this blog, we will demonstrate how to build a communication microservice to send text messages using Twilio and Express. Let’s get started! 🚀 Required Installations: Node.js: It is a JavaScript runtime environment that executes JavaScript code outside the browsers. Dotenv: This package […]

How to Configure CORS in Node.js With Express?

Reading Time: 9 minutes Internet browsers typically deny access to unknown websites from your application programming interfaces and services. Doing this allows your server to share its resources only with clients that are on the same domain as yours and nobody else. However, there are times when you would like to relax this guard or would want to exercise […]

Perform a Session-based User Authentication in Express.js

Reading Time: 10 minutes While it is possible to render static websites from a server, this approach has many limitations, including code duplication and a lack of flexibility — particularly when it comes to reading data from a database. Fortunately, Express.js includes a template engine that allows us to generate dynamic HTML pages from our server-side applications. A template […]

How to upload single or multiple images to a local directory with Multer in Node.js?

Reading Time: 7 minutes The most fundamental operation of any application is a file upload. While images can be uploaded on the front end, they must be received via an API and database on the backend. You can set up file and image uploads in one place using Multer and Express, a Node.js framework. In this blog, we will […]

How to fetch contents of JSON files stored in Amazon S3 using Express.js and AWS SDK?

Reading Time: 12 minutes A plethora of banks employ JSON for data transfer between the bank and the client servers. With the help of Amazon S3 data lakes, the banks use the data to train AI/ML models and perform advanced analytics. JSON is an open standard file format and data interchange format that stores and transmits data objects composed […]

Back To Top