Category: Programming

  • Overcoming Nepal’s Passport Form Challenges with Cypress

    Overcoming Nepal’s Passport Form Challenges with Cypress

    When Nepal introduced the new E-Passport system, it promised a less stressful application process for everyone. The expectation was that individuals could easily fill out the application themselves, attend the appointment, and receive their passport within a reasonable timeframe. However, the reality proved to be quite different. The system faced immense challenges, unable to handle…

  • Access control mechanisms in software

    Access control mechanisms in software

    Developing a secure system requires robust authentication and authorization implementation. While authenticating users might not take much effort, the authorization aspect can get complicated. This is especially true if the application has various kinds of users. In this article, we will look into two major types of access control mechanisms, ABAC (also called CBAC) and…

  • Amplitude react native integration and example analytics

    Amplitude react native integration and example analytics

    In the previous post about mixpanel, I gave a brief introduction about what analytics is and how to integrate mixpanel with react native. I will do amplitude react native integration and example analytics for the same project in this post. So, it would be best if you looked into that post before diving into this…

  • Analytics using mixpanel react native

    Analytics using mixpanel react native

    It’s essential to have analytics in your app if you need help with your product decision. Not only does it give us an insight into how users are using our app but also helps us decide to experiment with different features. So, this post is the continuation of my previous posts about remote configuration and…

  • Flagsmith – Remote config and feature flag management

    Flagsmith – Remote config and feature flag management

    A while back, I wrote a post about feature toggle management using Unleash. However, on exploring more about managing features, I came to know about Remote Config by Firebase. Basically, the core concept is similar with a major difference being the priority. In Feature toggle, we keep a track of features and manage them using…

  • Feature Flag and Toggle with Unleash

    Feature Flag and Toggle with Unleash

    In the realm of modern project development, you often find yourself immersed in intricate scenarios. Picture this: you’re in the midst of a project when a brilliant idea for a new feature strikes. However, rather than immediately diving into development, your instinct leads you to explore and experiment first. Similarly, you may encounter situations where…

  • Callbacks in Javascript

    Before diving into callbacks, we have to understand that, in javascript, functions are first-class objects. As such, we can dynamically create, destroy, pass to a function, return as a value a first-class object. Also, it has all the rights as other variables in the programming language have. Callbacks in Javascript If we pass a function…

  • Advantages of JSON in web programming

    JSON stands for ‘JavaScript Object Notation’. We use JSON for storing and exchanging data between server and client (browser). However, there are other uses and advantages of JSON beyond this in web programming. Firstly, we have to understand what JSON is. We can only exchange data in text format. That is why, JSON is a…

  • JWT Authentication in Express.js using Passport.js

    JWT Authentication in Express.js using Passport.js

    In the previous post, we created an express.js application step by step. If you haven’t read that post, I suggest you do it because the basic steps are covered in the post. Therefore, you can check it out here: https://nepcodex.com/2019/09/create-an-express-application-with-database/. Also, since we are trying to build a REST API, we will remove many components…

  • Create an Express Application with Database

    In this post, we will learn how to create an express application with a database. Not only this, but also we will include a templating engine. For the record, I don’t say you have to do the way I do here, but you will get the gist of what to do. So, let’s begin by…