Welcome to curated list of handpicked free online resources related to IT, cloud, Big Data, programming languages, Devops. Fresh news and community maintained list of links updated daily. Like what you see? [ Join our newsletter ]

Introducing storage on Vercel

Categories

Tags app-development web-development apis database serverless nosql

Vercel KV, Vercel Postgres, Vercel Blob, and Vercel Edge Config are now available. Driven by the need for both performance and personalization, frameworks are becoming server-first and edge-first. By vercel.com.

This shift is exemplified by React Server Components and the introduction of streaming infrastructure into Vercel runtimes. These capabilities make it easier than ever to fetch data from a database or other data sources, within the server component itself.

Verel is excited to announce a suite of serverless storage solutions now available on Vercel, powered by some of the best infrastructure providers in the industry:

  • Vercel KV: A serverless Redis solution that’s easy and durable, powered by Upstash
  • Vercel Postgres: A serverless SQL database built for the frontend, powered by Neon
  • Vercel Blob: A solution to upload and serve files at the edge, powered by Cloudflare R2

A key-value store like Redis is one of the most common tools developers reach for when managing things like rate-limiting, session management, or application state. Vercel’s first-party storage makes it easy for developers to manage their frontend storage needs, without worrying about infrastructure. Excellent news!

[Read More]

The REST API Handbook – How to build, test, consume, and document REST APIs

Categories

Tags app-development restful apis cloud devops web-development react

This tutorial aims to show you an example of how you can fully implement a REST API. We’ll cover basic setup and architecture with Node and Express, unit testing with Supertest, seeing how we can consume the API from a React front-end app and finally documenting the API using tools such as Swagger. By Germán Cocca.

Keep in mind we won’t go too deep into how each technology works. The goal here is to give you a general overview of how a REST API works, how its pieces interact, and what a full implementation might consist of. In the article you will find information on:

  • What is REST?
  • How to Build a REST API with Node and Express
  • How to Test a REST API with Supertest
  • How to Consume a REST API on a Front-end React App
  • How to Document a REST API with Swagger

RESTful APIs are designed to be simple, scalable, and flexible. They are often used in web and mobile applications, as well as in Internet of Things (IoT) and microservices architectures. Good read!

[Read More]

Distributed cloud-native graph database with NebulaGraph Docker extension

Categories

Tags app-development docker cio containers devops database

Graph databases have become a popular solution for storing and querying complex relationships between data. As the amount of graph data grows and the need for high concurrency increases, a distributed graph database is essential to handle the scale. Finding a distributed graph database that automatically shards the data, while allowing businesses to scale from small to trillion-edge-level without changing the underlying storage, architecture of the service, or application code, however, can be a challenge. By Wey Gu and Ajeet Singh Raina.

In this article, we’ll look at NebulaGraph, a modern, open source database to help organizations meet these challenges. Further ion the article:

  • Meet NebulaGraph
  • Architecture of the NebulaGraph database
  • Why NebulaGraph?
  • Why run NebulaGraph as a Docker Extension?
  • Getting started with NebulaGraph in Docker Desktop

NebulaGraph is ideal for graph database needs because of its architecture and design, which allow for high performance, scalability, and cost-effectiveness. The architecture follows a separation of storage and computing architecture, which provides many benefits, inlcuding automatic sharding, high performance, high availability, flexibility, support for APIs. Nice one!

[Read More]

How to deploy the different SAP BTP development environments

Categories

Tags app-development miscellaneous cio servers management

SAP Business Technology Platform (SAP BTP) is a platform focused on turning data into actionable business plans, particularly by leveraging tools found in an intelligent enterprise. SAP BTP contains many solutions, tools, and products under its umbrella. In this post, we’ll look at the deployment options for the different SAP Business Technology Platform development environments. By SAP PRESS.

The structure of the SAP BTP provisioning in terms of global account, subaccounts, and spaces—any configuration like connecting to a specific on-premise system or security setup, is specific in a subaccount instance of the platform. So, if you’re deploying an application which is, say specific to finance, then it’s better to have a separate subaccount for finance only. If the same subaccount is used for all areas, there is a chance of configurations getting overwritten or conflicts and confusion arising.

This guide then describes:

  • Deployment on SAP BTP, Neo environment
  • Deployment on SAP BTP, Cloud Foundry environment
  • Deployment on SAP BTP, Kyma
  • Deployment on SAP BTP, ABAP environment

For every environment like development, test, and production, you need separate subaccounts. In fact, since each subaccount would be linked to the core instance of the underlying transactional system, which may be on-premise SAP S/4HANA, for example. Ideally, you have one-to-one linkages between the environments of this SAP S/4HANA instance and the corresponding subaccount. This approach ensures testing with the backend systems and security, all in sync, with no deployment risks.

[Read More]

How to build Angular search functionality with GraphQL?

Categories

Tags app-development angular nodejs javascript restful apis

In this tutorial, you will learn how to build a fullstack Angular application that uses GraphQL to fetch data from a server. The application we’ll build together will display a list of blog posts fetched from a GraphQL API using Apollo Client, including search functionality. To create the GraphQL API, we will use StepZen, a GraphQL API platform that allows you to build and deploy a GraphQL API in minutes. By Roy Derks.

Angular has gained a reputation for its exceptional developer tooling, which includes built-in features such as TypeScript support, routing, and a command-line interface. Additionally, Angular’s component-based architecture, remarkable speed and performance, and other powerful features make it a popular choice among developers.

This tutorial then explains:

  • Prerequisites
  • Setting up a new Angular project
  • Creating a GraphQL API with StepZen
  • Adding Apollo Client to our Angular application
  • Fetching data with Apollo Client
  • Adding search functionality

If you prefer watching a video walkthrough instead there is a link for that in the article as well. This tutorial taught you to use GraphQL in an Angular application using Apollo Client. With Angular, you can build scalable frontend applications with native TypeScript support. On the other hand, Apollo Client is a library to help you fetish data from a GraphQL API. For example, the GraphQL API you created in this tutorial by transforming the DEV.to REST API into GraphQL using StepZen. Good read!

[Read More]

Optimizing your app for network reachability

Categories

Tags app-development ios swiftlang learning

Network Reachability is a vital aspect of apps that use some networking capabilities. Your users won’t always have a good internet connection, so optimizing your app for bad networking conditions is essential. By Antoine van der Lee.

In this guide you will find information on:

  • Wait for connectivity instead of pre-checking for reachability
  • Restricting your app to WiFi only
  • Responding to networking errors
  • When you should use networking reachability checks
  • Testing your app for network connectivity
  • Disabling networking for your simulator app only

Optimizing your app for Network Reachability starts by preventing common mistakes like pre-checking for reachability before performing a request. Once you encounter a missing connection, you can check for a restored connection and resume requests accordingly. Using RocketSim, you’re able to validate your implementation without affecting your Mac’s connection. Nice one!

[Read More]

Python classes: The power of object-oriented programming

Categories

Tags oop programming python learning

Python supports the object-oriented programming paradigm through classes. They provide an elegant way to define reusable pieces of code that encapsulate data and behavior in a single entity. With classes, you can quickly and intuitively model real-world objects and solve complex problems. By Leodanis Pozo Ramos.

In this tutorial, you’ll learn how to:

  • Define Python classes with the class keyword
  • Add state to your classes with class and instance attributes
  • Provide behavior to your classes with methods
  • Use inheritance to build hierarchies of classes
  • Provide interfaces with abstract classes

Classes are the building blocks of object-oriented programming in Python. With classes, you can solve complex problems by modeling real-world objects, their properties, and their behaviors. Classes provide an intuitive and human-friendly approach to complex programming problems, which will make your life more pleasant. Good read!

[Read More]

How to use Ansible to create reports with Lynis, automate audits, and evaluate the security of your systems

Categories

Tags ansible servers linux infosec

In this article, we will explore how Lynis and Ansible work and how they can be used to evaluate the security of your systems. In addition, we will offer advice on how to improve your security. We will also look at how you can automate process with Ansible.

Lynis is an open code tool used to carry out security audits for operating systems based in Unix, such as Linux and macOS. Lynis takes place in the determined system and scans the system to check for vulnerabilities and unsafe configurations. After the scan, Lynis provides a detailed report with recommendations on how to improve system security.

In this tutorial you will learn:

  • Lynis installation
  • Audits
    • Analysis of the system, plugins, kernel, services.
    • Score
  • Group audits in Lynis
  • How to use Ansible to execute Lynis and automate the process
  • How can we improve the security of the Lynis reports?

In summary, using Ansible to generate reports with Lynis is an efficient and easy way to automate the auditing and security evaluation of systems. With a simple configuration you can use Ansible to execute Lynis automatically in various servers and compile reports in a centralized ad effortless way. This allows you to save time when it comes to evaluating the security of your systems, as well as helping you to maintain a clear and up-to-date vision of your security status. You will find configuration and reports explanation in the tutorial as well. Excellent read!

[Read More]

How to choose the right type of TLS/SSL certificate

Categories

Tags ssl servers cio learning infosec app-development

From the server administrators of highly technological organizations, to product managers of financial institutions, down to the one-man startups that just want to secure their shopping cart, the same question pops up: “If TLS/SSL certificates all do the same thing, what type should we get?” By Digicert.

All three types of TLS/SSL certificates do fundamentally the same thing: encrypt information during TLS negotiations. Correctly installed and configured, both https and the padlock will show in most browsers.

Beyond the padlock in the browser there are varying levels of security and risk. This article discusses:

  • What type of TLS/SSL certificate should you get?
  • Consumer Awareness
  • Types of TLS/SSL certificates
  • Domain validation certificate
  • Extended validation certificate

Extended Validation goes beyond security. It has become the baseline for any reputable site that cares about security, brand and their clients. EV makes a strong statement that your brand is committed to data security and offers the highest level of protection for your users. Interesting read!

[Read More]

Nano stores in Angular: how to make the state management simpler

Categories

Tags angular nodejs javascript learning

Angular now has integration for Nano Stores, an open source state manager based on the idea of atomic tree-shakable stores and direct manipulation. It is very small (from 334 bytes), has zero dependencies, and promotes moving logic from components to stores. By Nina Torgunakova.

With such stores, you don’t need to call the selector function for all components on every store change, which makes them noticeably fast.

Nowadays the concept of state management is crucial for client-side development: we need a reliable source of truth to manage data in our applications. The article then explains:

  • What do we have now (state management)?
    • RxJS
    • NgRx
    • Nano stores
  • Why is Nano stores the handiest way to manage state?

Author believes that with open source projects like this, Angular can soon get rid of boilerplate, complex definitions, and huge packages. Try using Nanostores in your Angular project to check out all these advantages for yourself. Nice one!

[Read More]