Renato Ivancic - Software Engineer

Github account Twitter account Google plus account Linkedin account RSS feeds
Background image

Create mock REST API Server

Backend

Mock REST API with json-server and support of faker and lodash npm modules.

In case you need lightweight-lightningfast deployment of fake REST API for prototyping, get Docker image that has npm json-server module installed. Just save static data in JSON file. Image also includes faker and lodash modules so instead of static JSON initialization file you can script a ton of data.

Docker image: json-server-faker

3 Apr 2016 #json-server #docker #faker #rest #test

Format TextView content with HTML tags

Android development

In most of the times, for displaying few lines of plain old text in Android application the TextView widget will be sufficient. What if you want to add a bit of text formatting to it? For example wrapping lines, making words bold or underlined, even adding some links to it. It can be accomplished by providing HTML code to the TextView widget as text source. Saving HTML code in Android app for reuse.

11 Mar 2016 #HTML #Android #TextView

Peer review with SonarQube

Code quality

Most of the time we are under time pressure to deliver a product. As a consequence bad coding habits strike back. It happen also if the programmer is not yet enough experienced. Peer review can solve this problem. Still it is not easy if the product is growing fast and nobody has a full sight on whole project or if you are alone on some part of it. Solution I was searching for was tool that automatically gives a descriptive overview of code quality.

25 Dec 2015 #SonarQube #code quality