. Happend. I made a mistake and I am straightening it up publicly. If you were following either my code or my posts carefully, you probably noticed I referred to environmental values a lot. From everywhere. That isn’t a good practice, in fact, it’s terrible, to follow that pattern. From different reasons, which I won’t be covering in this post.

What I will say, is that it doesn’t mean to not use them at all. In fact, I still am by myself. What I do is I wrap all my environmental variables into one config file. That way, you can still declare vals in your startup process, and have them together with all other useful configs at one file. One variable. One import.

Every webapp needs a database, right? I believe, there isn’t a single person, that’d try to argue over this statement. But what database, and how to structure — that is where the war begins.

For this project, I use MongoDB with mongoose on the top of it. Mongo is a…

A week ago I’ve spoken about basics of JWT; what are they, why they’re great alternative for cookies, and also, I briefly described different ways of authentication with their usage, as well as ways of matching identity, based on provided token.

Today I’d like to show you, one method on…

It took me waay longer than I expected, to start with the project. I’ll touch the surface of the reasons in another post, but what I’d like to simply report you the progress I’m at with the Byrd.

In my recent post, of #GetNoticed series, I said I’m gonna be…

Some of you may not be familiar with concept of tokens, so I’ll try to quickly explain those: Tokens overall is an abstract concept, of representing another object. For instance, you won the lottery, and you need to show the proof you actually are the lucky winner (congrats if you…

Atom

Honestly, how often do you hear that question? Because I do hear it a lot, and it drives me nuts. What’s so important in tools you use? Why is your new, shiny shovel, made out of carbonated steel better, from my old, rusty one? It does it’s job, right? Why…

Patryk Cieszkowski

Software Engineer. Email me at me@polethedev.com

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