Janik von Rotz

Apollo Graphql integration testing in practice

The Apollo Graphql documention offers a pretty comprehensive guide on how to test your Graphql API. But sure its different once you implement tests for your non generic project. That is why I wrote this post. First I would like to introduce you to integration tests and how they are different from the other testing levels. And then I’ll give you a hands on experience for writing integration tests for Apollo Graphql with Ava.

Read More...



Professionalism versus Friendship

Personal intro:

There are these moments when you face a sheer unsolvable conflict in life. This conflict can be of a personal nature or be a dispute at the workplace. A lack of sleep might be a side effect. A lack of orientation and perspective become an enduring feeling.

Read More...



O3M 82 - Localhost

Localhost is where the home is. The perfect playlist when you are alone at home.

Read More...



An unfinished story

I found this funny text editor, started writing a story and this was the result:

Read More...



Find dead links in your markdown files

The markdown ecosystem is growing. Markdown has become an universal standard with various extensions. Software repositories, websites, documentation systems, all store their content in markdown. This blog is written in markdown as well.

Of course there are downsides to markdown. Portability comes at the cost of missing features. Thus you have to built them on your own. If you run a blog you probably reference tons of other stuff on the internet. Links that point to usefult resources or nowhere. I wanted to find out which links in my markdown documents are dead.

Read More...



Deploy ELK stack with Ansible and Docker

This post was first published at Abilium - Blog.

Recently, we decided to setup a new monitoring service. We opted for the ELK stack. The ELK stack constists of three products:

Read More...



Making hierarchies more efficient

I tend to come up with the important questions always a bit late. “Why do I not like working in hierarchical organizations?” is the question I should have asked a year ago. I gave it some thought and here are my notes.

Read More...



Do not use VPN services

On my latest Hacker News trip I came along this fine post. I already told many people that they must avoid using VPN services if possible. In most cases there is no need and this post describes it very well.

Read More...



Dark mode support

Every website has to support dark mode now. Probably because of the new iPhone launch or so. Nonetheless, I added a bunch of CSS to this theme as well.

Read More...



Build an Apollo Graphql user authentication for your React app - part 3

This is the final post of my GraphQL Auth series. Before reading this post checkout post 1 and post 2.

As mentioned in my last post we need to polish our authentication solution. First we wanna ensure that the JWT token expires. Second, I think the isAuthenticated directive is insufficient for proper permission management on our types, queries and mutations. We need a role based solution. While the first point is simple to implement, the second is more complex and definitely requires walking through the previous posts.

Read More...



12