I ve been quietly working on a small side project for the last few weeks, and it s finally at a point where I can share it properly. Which-Fuji is a tiny website I built to help people figure out which Fujifilm camera to buy. That s it. No reviews, no affiliate spam, no walls of text — just [ ] The post Building Which-Fuji: A Side Project for Fujifilm Camera Enthusiasts appeared first on Abu…
If you re familiar with relational databases like MySQL or PostgreSQL, you re probably also familiar with auto incrementing IDs. You select a primary key for a table and make it auto incrementing. Every row you insert afterwards, each of them gets a new ID, automatically incremented from the last one. We don t have to keep track [ ] The post Auto incrementing IDs for MongoDB appeared first on Abu…
For building quick APIs in Python, I have mostly depended on Flask. Recently I came across a new API framework for Python 3 named API Star which seemed really interesting to me for several reasons. Firstly the framework embraces modern Python features like type hints and asyncio. And then it goes ahead and uses these [ ] The post API Star: Python 3 API Framework appeared first on Abu Ashraf Masnun…
If you re a Python developer, you probably know about pip and the different environment management solutions like virtualenv or venv. The pip tool is currently the standard way to install a Python package. Virtualenv has been a popular way of isolating Python environments for a long time. Pipenv combines the very best of these tools [ ] The post Getting Started with Pipenv appeared first on Abu…
I have heard about AWS Lambda and all the cool things happening in the serverless world. I have also deployed Go functions using the Apex framework for serverless deployment. But recently I have started working on some Python projects again and decided to see how well the Python community is adapting to the serverless era. [ ] The post Deploying A Flask based REST API to AWS Lambda (Serverless)…
In Go or Golang, declaring an interface is pretty simple and easy. [crayon-6a81d72844b10692981505/] We just defined an interface named Printer that required an implementer to have a method named Print which takes a string parameter and returns nothing. Interfaces are implemented implicitly in Go. Any type that has the Print(string) method implements the interface. There is no need to [ ] The post…
Go aka Golang is a very promising programming language with a lot of potential. It s very performant, easy to grasp and maintain, productive and backed by Google. In our earlier posts, we have tried to provide guidelines to learn Go and later we saw how to work with JSON in Go. In this blog post, we re [ ] The post Golang: Making HTTP Requests appeared first on Abu Ashraf Masnun .
As we can already guess from the name, a Proxy object works as a proxy to another object and allows us to customize the behavior of the said object in certain ways. Let s say you have an obj named awesomeAPI which has some properties and methods. You want to trap any calls to the object. May [ ] The post Proxy in JavaScript appeared first on Abu Ashraf Masnun .
We encounter promises in real life every now and then. You have promised to deliver that project within the next week. Your friend has promised to play Overwatch with you tonight. If you think about it, promises are everywhere around us. Promises in JavaScript also play similar roles. A Promise object in JS is an [ ] The post Promises in JavaScript appeared first on Abu Ashraf Masnun .
In Part -1 of this series, we saw how we can get started with KoaJS and in Part 2 we built CRUD endpoints with MongoDB. In this part, we re going to work with authentication. We will be using JSON Web Tokens aka JWT for the auth part. We have written detailed pieces on JWT before. You [ ] The post REST API with KoaJS and MongoDB (Part 3) appeared first on Abu Ashraf Masnun .