Disclaimer: This article is only for informative purposes. It doesn’t recommend you to buy, sell or trade any cryptocurrencies, and doing so is highly subjected to market risks. The code is not suitable for production. The purpose is only to give an overview of how things work.
Right from the beginning of the DeFi Summer of 2020, a lot of new cryptocurrency and blockchain-related projects flooded the Ethereum network which resulted in the hike in gas price. People were in a situation to pay a 100$ gas fee for a 10$ transaction. …
Welcome! In this article, we will be developing a secure and lightweight REST API using Node.js, Express server, and MongoDB from scratch that can be used as a backend for authentication systems. This is completely a beginner-friendly article.
As a bonus, I have explained how to create a simple referral system, using which you can share the referral code, and your friends can signup using that code. The concepts we will see throughout this article are completely generic, and it can be implemented using any programming language.
Nowadays, we can see a high rate in the adoption of blockchain technology and cryptocurrencies in particular. As a result, these technologies are transforming into an irreplaceable part of our day-to-day life. However, blockchain has reserved its place almost for the next decade because of its wide range of applicability.
Lack of trust and need for privacy paved the way for cryptocurrencies to become a trillion-dollar industry. Several projects and innovations in technology are emerging every day. …
We are going to have a look at how to create your own Bitcoin wallets — Testnet and Mainnet, using a simple Node.js script. We can generate as many wallets (public/private key pairs) as you want instantly. We don’t need to use any third-party blockchain providers for this, as the wallet generation part is done offline.
In order to run the code given in this tutorial, we’ll need Node.js installed and configured on your PC which will not take even more than 5 minutes.
Without wasting much time on the introduction, let’s jump into the implementation part.
Currently there are…
Everyone in this world is busy and we often forget things. Motivated by these two statements, I decided to build a simple cryptocurrency price alert microservice that will send an email notification if the price of a specified coin goes above/below a certain threshold.
You no longer need to stare at the market to check the price all day. All you need to do is choose the currency and specify the threshold price. That’s it. You’ll get notified via the provided email address.
I used Node.js for the implementation. You can follow the steps below and build the same microservice…
In this demo, we will be building a microservice to extract details from the user IP address using Node.js and Express. There may be situations when we need to get some information about the users of our application to provide them a better user experience, like delivering location-based content and so on.
Without wasting much time, let’s get our hands dirty!
First, let us initialize our project by running the
npm init -y command.
Now, we need to install the dependencies.
npm install express geoip-lite --save
Express module will be used for handling http requests from the client.
Hello all 🖐 In this article, I’d like to share with you some of the important and basic configurations which must be applied before deploying your web application to production. Following only these rules alone is not sufficient, because there are many more things that you must take into account before making your application live. I have created a curated list of things that may help up to some extent. I’ll also share with you more configuration tips and techniques in my upcoming posts as we cannot everything in this single article.
Some code snippets used in this article will…
A plug-and-play starter template that can help you to kick start your web application API development.
In this article, we will be building a basic starter template (or boilerplate)which can be used for building robust and secure REST APIs using Node, Express, and Mongoose. It can be used for any kind of projects regardless of logic and requirements.
You may ask that there are many starter templates and why I am reinventing the wheel. …
Welcome! In this article we will be learning how to manage user sessions using JSON Web Tokens (JWT). At the end we will also build a simple referral system to demonstrate the workflow with JWT.
If you already have a user authentication system, you can refer to this article to integrate JSON web tokens securely in your existing project.
Without wasting more time on the introduction let us get started.