Blog

Deleting an Item From MongoDB Mongoose By User Permission

The first thing you learn when building a web application is CRUD, Create Read, Update and Destroy. I was learning Node.js to build the backend of my application. The first few lessons were about creating data, and then editing it. In MongoDB mongoose, there are some handy commands for creating, editing items. Let’s say I have a blog post which I created. To edit it, I call the .findOneAndUpdate() method for editing the existing collection. I soon figured out there must be a .removeOne() or .deleteOne() method to delete an item from the database collection. I gave that a try. …

Read More

Things I Learned While Building a Personal Project

Last week I ran into a real world problem. It’s hard to keep track of my washed and dirty clothes. I have no idea how long it’s been since last wash. So I needed to track them by making a list and counting the dates. The first idea is obviously writing them down on paper, but then I thought why not use my JavaScript skills to build an app to track it? The initial idea: It’s a one page app with a To-Do list kind of functionality. I want to be able to add and remove items. In this context, …

Read More

Quitting is important

We have limited hours everyday. In any given day, we can’t always utilize every hour of the day. To get the most done, you must quit many things. You must quit projects, say “NO” to things, so you can succeed at your goals. We are always being reminded not to quit, just go for it, just do it. Any motivational seminar, video or quote tells us to never quit. But does this kind of motivation really works? It doesn’t, here’s why: I was your average highly motivated productive person. I would get done many things, and I was really proud …

Read More

Roasting My First JavaScript App

It’s time I look back at one of my very first JavaScript work and roast it. It was 2014, I had recently finished JavaScript and JQuery lessons from Codecademy. It was about time I build something with my knowledge. At that time I didn’t know what actually JQuery was. I thought it’s another language like JS. Now I know well that, JQuery is a library which goes on top of JavaScript. It makes writing code a little bit easier. An overview of what I am going to build: There is a mobile payment service in Bangladesh called Bkash. You can …

Read More

What Steve Jobs’ First iPhone Taught Me About Product Development

Steve Jobs and his first iPhone changed everything. We were introduced to a new era. After the launch, every other phones were just a copy of the iphone. But I am not here to talk about the technological revolution of the smartphone industry. I want to discuss the lessons I learned from Apple’s iPhone from a product development perspective. Start Simple If you look at the original iPhone, you would realize how lame that phone was. It didn’t had video recording option, no 3G, and many modern features you would expect from a new phone. Apple could have put so …

Read More

I Never Thought I Would Become A Programmer One Day

Growing up I was just a regular boy. I was never good at science or maths. I like to break things apart, but I wont call myself a tech nerd. So how did a regular guy like me turn into a programmer, coding things from scratch? Let’s be honest here, programming is not that easy. It takes discipline and repeated effort to code something on your own, build a thing which actually works. I never thought someday I would turn into a web developer and actually code in this weird language. Please note: I am using the words “coding”, “development”, …

Read More