Koa.js – URL Building
We can now define routes; they are either static or fixed. To use dynamic routes, we need to provide different types of routes. Using dynamic routes allows us to pass…
We can now define routes; they are either static or fixed. To use dynamic routes, we need to provide different types of routes. Using dynamic routes allows us to pass…
Web frameworks provide resources such as HTML pages, scripts, images, etc. at different routes. Koa does not support routes in the core module. We need to use the Koa-router module…
One of the most exciting new features of JavaScript ES6 is a new breed of function, called a generator. Before generators, the whole script was used to usually execute in…
Once we have set up the development, it is time to start developing our first app using Koa. Create a new file called app.js and type the following in it. var koa…
To get started with developing using the Koa framework, you need to have Node and npm (node package manager) installed. Confirm that node and npm are installed by running the…
A web applications framework provides you with a simple API to build websites, web apps, and backends. You need not worry about low-level protocols, processes, etc. What is Koa? Koa…
We can grant and revoke permissions to users in HBase. There are three commands for security purpose: grant, revoke, and user_permission. grant The grant command grants specific rights such as read, write,…
count You can count the number of rows of a table using the count command. Its syntax is as follows: count ‘<table name>’ After deleting the first row, emp table will have…
Scaning using HBase Shell The scan command is used to view the data in HTable. Using the scan command, you can get the table data. Its syntax is as follows: scan ‘<table…
Deleting a Specific Cell in a Table Using the delete command, you can delete a specific cell in a table. The syntax of delete command is as follows: delete ‘<table name>’, ‘<row>’, ‘<column name…