Best of DatabaseNovember 2022

  1. 1
    Article
    Avatar of devtoDEV·4y

    An animated guide for Node.js event loop

    Node.js is single-threaded, but what does it mean in practical terms? We will explore it by following this piece of code step by step. The V8 JavaScript engine manages a call stack, an essential piece that tracks which part of our program is running. The event loop connects the queue with the call stack.

  2. 2
    Article
    Avatar of anavidAnalytics Vidhya·4y

    Creating a Music Streaming Backend Like Spotify Using MongoDB

    Creating a Music Streaming Backend like Spotify using MongoDB. This article was published as a part of the Data Science Blogathon. In this article, I will show you how to handle uploading songs to the database, streaming music, user authentication, the ability to choose your favorite songs, and a recommendation engine. We will add our code in a new file named ‘auth.ts’ in a new file.ts.

  3. 3
    Article
    Avatar of asayerasayer·4y

    7 Microservice Design Patterns to Use

    Microservice architecture is self-contained and wrap up around one business capability. It also refers to an architectural style for app development. The design is rapidly evolving and is one of the most important aspects of microservices. In the following sections, we’ll discuss seven important patterns.

  4. 4
    Article
    Avatar of asayerasayer·4y

    Dockerizing Full-Stack React apps

    Using infrastructures such as Docker and Containers gives a developer an upper hand to quickly set up and deploy applications. Containers are lightweight operating systems that run as a form of virtualization.

  5. 5
    Article
    Avatar of communityCommunity Picks·3y

    Architecting an API Backend

    An API’s architecture often mimics how it is maintained and what the service accomplishes. An API may tap into various services to support its own backend, making the architecture stack deceptively complex. A similar ecosystem may exist fueling the components that make up an API itself.

  6. 6
    Article
    Avatar of eversqlEverSQL·4y

    How I became a better CTO using these 8 resources

    Google offers 25 lessons, 30+ exercises, real case studies, and lectures from Google experts. The SaaS CTO Security Checklist provides actionable security best practices CTOs can use to harden their security. JavaScript is a bird's eye view of JavaScript, its benefits, patterns, and more.

  7. 7
    Article
    Avatar of freecodecampfreeCodeCamp·3y

    The Best Backend as a Service for your React App

    Firebase has dominated the backend-as-a-service space for many years, but Supabase has emerged as a great alternative. Supabase allows you to take your code and deploy it wherever you like. You can build your app, deploy it to Supabase's servers, or you can Deploy it to your own hosting service.

  8. 8
    Article
    Avatar of asayerasayer·4y

    Role-based access in React

    The React app is a simple React app for a company with three distinct roles. We’ll be implementing a role-based access system in a React app using react-router-dom protected routes. Only a marketer will be able to access the software engineering route, and only the human resource personnel will have access to the marketing route.

  9. 9
    Article
    Avatar of itnextITNEXT·4y

    Techniques for Optimising SQL Queries

    The power of Explain will give a detailed information on what our query will do and how much it’ll cost in time when executed. This is one of the most common mistakes that I’ve seen a lot of people doing, regardless of their level of experience or years in the industry.

  10. 10
    Article
    Avatar of asayerasayer·4y

    Working with databases in Next.js using Prisma

    Next.js uses Prisma as an ORM to manage your database with no hustle. Next.js is a database-agnostic web-based framework. You can use Prisma to model your database data structure when working with databases. The models can be slightly different if you use a NoSQL MongoDB database, and it uses collections and documents.

  11. 11
    Article
    Avatar of coinsbenchCoins Bench·4y

    Introduction to Blockchain

    Bitcoin is decentralized and trustless, meaning there is no trusted authority which controls updates. If any node could make updates to the database at any time, there would be conflicts, fake transactions, inconsistencies between different nodes’s copies of the database.

  12. 12
    Article
    Avatar of awstipAWS Tip·4y

    Build a Visual Serverless REST API with MongoDB and NodeJS

    We’ll build a visual Serverless RESTful API using MongoDB and NodeJS. We will create endpoints for creating data, reading data, updating data, and deleting data. To set up a HTTP trigger simply look through the embedded library functions that Lolo provides you with.

  13. 13
    Article
    Avatar of glcGolang News·4y

    A Golang-based Open Source Backend / Firebase Alternative

    A Golang-based Open Source Backend / Firebase Alternative PocketBase is an open source backend consisting of embedded database (SQLite) with realtime subscriptions, built-in users management, convenient dashboard UI and simple REST-ish API.

  14. 14
    Article
    Avatar of communityCommunity Picks·4y

    Scanning 2.6 Million Domains for Exposed .Env Files

    Scanning 2.6 Million Domains for Exposed.Env Files Software developing cat. In this post I describe, what a.env file is, how I scanned the domains and some stats about what was found in these files.

  15. 15
    Article
    Avatar of communityCommunity Picks·3y

    Understanding the Model-View-Controller (MVC) Pattern

    MVC pattern influences the structure of your codebase, with, for example, a separate class for the Controller, the Model, and the View. The Model represents and handles the data your application needs to run, especially as an in-memory, partial and local representation of the data that lives in your database.

  16. 16
    Article
    Avatar of asayerasayer·4y

    A complete guide to Next.js plus MongoDB

    Next.js is a database-agnostic web-based framework. It incorporates the latest minimalistic technologies that help developers create web apps with minimal code bases. The tutorial will explain how to create a Next.js application, connect it to MongoDB, and perform database operations. In production mode, it's best to not use a global variable.

  17. 17
    Article
    Avatar of dzDZone·3y

    A Poor Man’s API

    A poor man's API A Poor Man’s API is an alternative to building an entire REST API. Join the DZone community and get the full member experience. Creating a full-fledged API requires resources, both time and money. The solution works, but it has a lot of room for improvement.

  18. 18
    Article
    Avatar of phProduct Hunt·4y

    Console 2.0 - Backend as a Service Reimagined by Appwrite

    Console 2.0 simplifies and guides you through the process of creating your backend.

  19. 19
    Article
    Avatar of reflectoringReflectoring·4y

    Building a Url Shortener With Node.Js

    Building a URL shortening service like tinyurl.com is a frequently asked question in system design interviews. We will explore how to create a Basic URL shortener using Node.js, React.js and MongoDB. The long URL will be returned to the user.

  20. 20
    Article
    Avatar of medium_jsMedium·4y

    How to Structure Your Project in Golang: The Backend Developer’s Guide

    The Backend Developer’s Guide is designed for novice developers and focuses on how to structure a project in Golang. If properly organized at the outset, project architecture and structure will facilitate the development and scaling, while making it easy to introduce new developers to the project. For large projects, it makes sense to create a nested directory with data for tests.

  21. 21
    Article
    Avatar of codimisCodimis·4y

    How to Build a Spring Boot REST API with Java ?

    Spring Data JPA aims to significantly improve the implementation of data access layers by reducing the effort to the amount that’s needed. We will use Spring Initializr to generate the Spring Boot project for which the first step is navigating to start.

  22. 22
    Article
    Avatar of newstackThe New Stack·4y

    Redis Is Not Just a Cache

    Redis is used in the broader cloud native ecosystem, fits into many service-oriented architectures. Redis creator Salvatore Sanfilippo’s approach provides a lesson in how to contribute to open source. It is daunting to get into open source development work, Madelyn Olson said.

  23. 23
    Article
    Avatar of devgeniusDev Genius·4y

    REST API In Laravel

    REST API is an application program interface that uses HTTP requests to GET, PUT, POST and DELETE data. Laravel provides easy way to create API if you have authentication in your app than you can easily do it using passport. If you follow below example step by step then you will definitely get output.

  24. 24
    Article
    Avatar of communityCommunity Picks·3y

    Tech Stacks: The Current Landscape

    A Tech Stack is a combination of programming languages, frameworks, and tools that come together to make it possible for developers to build web or mobile applications and services. In many cases, the most popular operating system for tech stacks is Linux. The most common components of the server-side stack include programming languages like Python and Ruby.

  25. 25
    Article
    Avatar of lnLaravel News·3y

    Your first Laravel 9 Application

    Laravel has grown at an incredible rate since it was first released and recently added two full-time staff members to help develop its ecosystem. This tutorial is aimed at those who are just starting to learn Laravel. Laravel will load all of your web routes from, and you have a few options when it comes to routing.