Serverless Functions and Databases

Learn How to Connect and Query a Database via Serverless Functions

During application development, it is often required to connect to a database for data access. Since, using the Jamstack, we no longer have access to an origin server, we need to look for other ways to execute database queries.

One such way is to leverage serverless functions. And herein lies the problem. Often there's a misconception when it comes to these functions and how database connections should be managed.

In this short course, we focus on demystifying the misconceptions based around the need to create persistent database connections. Furthermore, we also examine another crucial aspect of working with serverless functions: managing payloads sent via the HTTP POST method.

The course will walk you through a sample app (created using Vue.js) where you get the opportunity to learn via hands-on examples how serverless functions can manage connections to a MongoDB Atlas cluster, how they can handle query parameters and POST payloads using the platform provided by Vercel.

Your Instructor

Tamas Piros
Tamas Piros

Tamas is a Google Developer Expert in Web Technologies and a Developer Evangelist. He has more than a decade of experience delivering technical training to large, prestigious organisations. Throughout his career, he has delivered presentations and training classes all over the world. His passionate about unlocking the latest & greatest features of web development.

Frequently Asked Questions

When does the course start and finish?
The course starts now and never ends! It is a completely self-paced online course - you decide when you start and when you finish.
How long do I have access to the course?
How does lifetime access sound? After enrolling, you have unlimited access to this course for as long as you like - across any and all devices you own.
What if I am unhappy with the course?
We would never want you to be unhappy! If you are unsatisfied with your purchase, contact us in the first 30 days and we will give you a full refund.
What technologies are being used?
This course covers Vue.js, MongoDB (Atlas and Compass), the Vercel platform (including the Vercel CLI ("Now") and serverless functions) and Cloudinary.

Get started with the Jamstack today! Becoming hands-on with technologies and services being heavily utilised by Jamstack projects will give you first-class experience of the stack. You will gain valuable knowledge and be able to apply your newly gathered skills in different projects.

Get started now!