Open in app

Sign In

Write

Sign In

Patryk Cieszkowski
Patryk Cieszkowski

68 Followers

Home

About

Mar 29, 2021

FIX: missing CORS headers on error response [nginx]

The title of this post is my commit message. It’s a short one, but I believe crucial to share, as I just spent roughly speaking 4 hours attempting to debug this issue, and with any further attempt I failed even worse. Long story short, I attempted to modify response headers…

Programming

1 min read

Programming

1 min read


Apr 16, 2017

Byrd — config file

. 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.

JavaScript

1 min read

JavaScript

1 min read


Apr 16, 2017

Byrd — Chat & Sockets — Authentication

That was quite a task, to get this going. I even had a serious problem with getting git commits separated from each other, so I ended up committing it all together. Introduction As I mentioned earlier, I was arguing with myself on using either WebSockets which I am familiar with, or…

JavaScript

2 min read

JavaScript

2 min read


Apr 2, 2017

Byrd — Database Schema v.0.0.1

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…

Mongodb

3 min read

Byrd — Database Schema v.0.0.1
Byrd — Database Schema v.0.0.1
Mongodb

3 min read


Apr 1, 2017

JWT Authentication in Express.js

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…

Nodejs

6 min read

JWT Authentication in Express.js
JWT Authentication in Express.js
Nodejs

6 min read


Mar 25, 2017

First commit… finally!

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…

JavaScript

4 min read

First commit… finally!
First commit… finally!
JavaScript

4 min read


Mar 25, 2017

JSON Web Tokens (JWT) — the basics

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…

API

4 min read

JSON Web Tokens (JWT) — the basics
JSON Web Tokens (JWT) — the basics
API

4 min read


Mar 5, 2017

What editor do you use?

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…

Web Development

3 min read

What editor do you use?
What editor do you use?
Web Development

3 min read


Mar 4, 2017

Byrd, Get Noticed… what’s going on?

Okey, first of I shall say hi. That’s my first post on this platform, and I thought — why would I make a post saying I’m going to be posting, since I can post it at my first post… Aight, I think you got me now. This makes no sense…

JavaScript

4 min read

JavaScript

4 min read

Patryk Cieszkowski

Patryk Cieszkowski

68 Followers

Software Engineer. Email me at me@polethedev.com

Following
  • Cristian Salcescu

    Cristian Salcescu

  • Nick Babich

    Nick Babich

  • David Gilbertson

    David Gilbertson

  • Jarrod Overson

    Jarrod Overson

  • Kendama-Spain

    Kendama-Spain

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech