hidden

Tech blog of j-labs' engineers. Experiences, knowledge, solutions.

Python simple application Raspberry Pi

The Raspberry PI is a small computer that has a lot of possibilities. By combining the functions of a standard computer and a microcontroller, it allows you to easily and quickly create various types of projects. Thanks to the use of the operating system, it is possible to control our Raspberry PI using almost all available programming languages, including Python. In this article, I will present a simple project that will allow you to control our Raspberry PI using a REST API application created in the Python Flask framework.

Michał Nowak |

17 Oct 2022

  Python DIY 
Read more
3

Python simple application Raspberry Pi

17 Oct 2022 | Michał Nowak

  Python DIY 

The Raspberry PI is a small computer that has a lot of possibilities. By combining the functions of a standard computer and a microcontroller, it allows you to easily and quickly create various types of projects. Thanks to the use of the operating system, it is possible to control our Raspberry PI using almost all available programming languages, including Python. In this article, I will present a simple project that will allow you to control our Raspberry PI using a REST API application created in the Python Flask framework.

Read more
4

AWS lambda deploy

03 Oct 2022 | Michał Nowak

  Cloud 

In this article, I will show how to deploy our lambda nodejs simple application using terraform. We will focus on how to connect our aws account with a local machine to easily apply terraform. In addition, we configure the API gateway to call lambda by HTTP method.

Read more
5

GitLab pipelines

30 Aug 2022 | Michał Nowak

  Tools 

Recently, the CI/CD approach has been very popular. We are going to push albo deploy our changes to the environment as quickly as possible. Thanks to microservices and dividing our projects into smaller independent pieces, it is much easier. Thanks to gitlab pipelines, we can have everything in one place. We can build, test, deploy, and much more thanks to pipelines. In this article, I will show how pipelines work, based on a simple springboot project. All articles and cases are prepared based on my gitlab account. We can create a free account, which helps us learn. The free plan gives us enough features to learn and understand CI/CD.

Read more
6

Elasticsearch in Java projects - query documents

16 Aug 2022 | Mariusz Maślanka

  Java 

The previous article 'Elasticsearch in Java projects - index and read documents' presents how to store the documents in the index. However, the primary function of the Elasticsearch is fast and efficient searching ability of the indexed documents based on provided queries. This article presents the basics about queries - how they are structured and used as a part of a search requests.

Read more
7

Elasticsearch in Java projects - data enrichment

18 Jul 2022 | Mariusz Maślanka

  Java 

The previous articles present how to index and query documents using a single index. Let's imagine more real-life scenario when the relevant information is kept in few indices and the data should be put together. The one approach is to read documents from each index separately and use pure Java to merge the results, however it may be error-prone. The other solution comes directly with Elasticsearch, it is called data enrichment, where the data from source indices may enrich ingested documents. This article presents what is the data enrichment, how it can be configured and used in Java projects in practise

Read more
8

Elasticsearch in Java projects - RESTful API over HTTP

04 Jul 2022 | Mariusz Maślanka

  Java 

The previous articles focus on the communication with Elasticsearch using Java Rest High Level Client. This article presents the communication over RESTful API over HTTP with a web client Postman. It is very handy tool for testing REST API where you can have your hands dirty by playing with the provided commands on your own. In this article all activities, regarding indices or documents, that were done using Java API are covered so you can easily see how they correspond each other.

Read more
9

Spring Cloud Contract

20 Jun 2022 | Dominik Adamek

  Cloud Spring 

Spring Cloud Contract helps developers in implementing the Consumer Driver Contracts(CDC) approach. In this article, we'll explain what is Consumer Driven Contract Testing and see how to use Spring Cloud Contract project to implement CDC. As an example, we'll use two Spring Boot applications: a Producer exposing a REST API, and a Consumer being a client of Producer's API.

Read more
10

Save your time with MapStruct library

06 Jun 2022 | Michał Nowak

  Java 

The MapStruct library is a great tool that can help you save time and make your life easier. Many times, when working in a microservices environment, we need different objects depending on the layers. For example, when we want to detach our DTO objects from database objects or when we want to create new objects based on previous objects to call another microservice.

Read more
11

Elasticsearch in Java projects - aggregations

23 May 2022 | Mariusz Maślanka

  Java Backend 

This article, in contrary to previous ones, is not dedicated to search. It presents another powerful aspect of the Elasticsearch - Aggregations, that let users analyze and summarize the set of data.

Read more
Page 1 of 17