Handling Push Notification Subscription for multiple devices
7/24/2021

Handling Push Notification Subscription for multiple devices

If you have added a push notification feature on your PWA. You might have stumbled upon one problem. Identifying subscription records How do I identify the subscription so that I can later notify it? The easiest way is to add a user’s ID field to it and save it in your database. For example: Max […]

Heroku PostgreSQL database backup and restore
5/29/2021

Heroku PostgreSQL database backup and restore

If you are new to Heroku and PostgreSQL and need to backup/restore data to and from your PostgreSQL database in Heroku, it might be overwhelming to get it right. This post has everything you will need to do just that.

Building SVG Clock using ReactJs
5/5/2021

Building SVG Clock using ReactJs

DEMO: https://df2y4.csb.app/ GitHub: https://github.com/dejavu1987/react-svg-clock This blog post is an exercise from my previous blog post Introduction to Polar Coordinates, plotting on radial diagrams. If you have not read the post and have no idea how radial coordinates work. Please go to the post and read and come back. If you are confident, lets go build […]

Build Minesweeper game using ReactJs
4/26/2021

Build Minesweeper game using ReactJs

Here is the demo of Minesweeper game I built using ReactJs. http://react-minesweeper.anilmaharjan.com.np/ I will be creating a step-by-step guide on, all the possible challenges, (hard parts) and the way I approached them. These are just one of the ways we can approach these problems. I appreciate your feedback and PR with suggestions and improvements. The […]

Low waste data modeling using graph
5/1/2021

Low waste data modeling using graph

Hello internet, I decided to write this up after presenting a talk about it to my colleagues at Inviqa recently. I will try to walk you through this mindblowing journey of modeling your data from scratch to building a graphQl API, to consuming the API and then serving it in a ReactJs app.

Radar diagram visualization in VanillaJs
4/16/2021

Radar diagram visualization in VanillaJs

I have recently written a vanilla javaScript library to visualize Radar diagrams. It is open source and you are free to use it and contribute. The library itself can be found in NPM https://www.npmjs.com/package/radar-diagram run npm install radar-diagram or yarn add radar-diagram in you project to add it to your dependencies. The demo radar can […]

© 2023 Anil Maharjan