MySQL, PostgreSQL, and many more (even HTTP API)!

Whether you need to send data from your database to mobile or insert data from your mobile to the database, today I will show you how you can do that in 5 minutes.

Image for post
Image for post
The final result of the application

Our MySQL database looks like this.

Image for post
Image for post
Stock database with a stock table and its content

We have a database named stock with table stock which contains columns id, name, and amount. I want to scan a barcode (which contains the id of the item) and show the details of the scanned item in my mobile app.

In order to do that without much effort, we will download Auri, extract its content, and run auri-server. …


Image for post
Image for post

Let me show you its negative impact on poorly written HTTP Server (Express Framework) in Node.Js.

We build spectacular apps, check auriosoftware.com

It always starts with an interesting prediction that our new server will be “small and simple”.

And yet, as most of the predictions, even this one will soon be doomed.

Login.js

The first use case is quite simple. When our server receives a login request from a client it will call the external HTTP API and when everything goes well it will send the 200 status code response to the end user.

We are building middleware. This server stands between UI and the external HTTP endpoint which should not be known to the end user. …


Image for post
Image for post

These days a lot of people is using Jest’s snapshot testing on a daily basis. I will show you reasons why I stopped.

We build spectacular apps, check auriosoftware.com

We changed a little bit of code and it blew off half of our tests. The problem is that these snapshots are highly coupled with our implementation and as we all know, coupling is one of the biggest pain in software development.

How coupled you asked?

Imagine we have a component and we created a new div container because of a new design requirement. …

About

Tomáš Gold

Software Developer, focusing on clean code and JavaScript technologies.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store