Databases

How To Build a GraphQL Server in Node.js Using GraphQL-yoga and MongoDB — step-by-step Databases tutorial on Progressive Robot

How To Build a GraphQL Server in Node.js Using GraphQL-yoga and MongoDB

Most applications today have the need to fetch data from a server where that data is stored in a database. GraphQL is a new API standard that provides a more efficient, powerful and flexible alternative to REST. It allows a client fetch only the data it needs from a server. This guide explainshow to use GraphQL in your Nodejs applications in place of REST.

Read more
Databases Checkpoint — step-by-step Databases tutorial on Progressive Robot

Databases Checkpoint

This checkpoint is intended to help you assess what you learned from our introductory articles to Databases, where we defined databases and introduced common database management systems.

Read more
How To Use Triggers in MySQL — step-by-step Databases tutorial on Progressive Robot

How To Use Triggers in MySQL

When working with relational databases and SQL, most operations on the data are performed as a result of explicitly executed queries, such as SELECT, INSERT, or UPDATE. However, SQL databases can also be instructed to perform pre-defined actions automatically every time a specific event occurs through triggers. In this tutorial, you’ll use different SQL triggers to automatically perform actions where rows are inserted, updated, or deleted.

Read more
How To Handle Asynchronous Tasks with Node.js and BullMQ — step-by-step Databases tutorial on Progressive Robot

How To Handle Asynchronous Tasks with Node.js and BullMQ

To avoid slowing down the request/response circle, you can use bullmq, a distributed task queue that allows you to offload time-consuming tasks from your Node.js app. To keep track of jobs, bullmq uses Redis to store a short description of each job in a queue. In this article, you will use bullmq to offload a time-consuming task into the background, which will enable an application to respond quickly to users.

Read more
CHAT