JavaScript object is a powerful data structure that contains both data and methods. Consider the following example.
Kiran Chauhan
Technology, Politics, and Folk Literature
this in JavaScript
Sep 19, 2024Hono Tutorial Pt. 4
Sep 11, 2024As the adjustment for the credentials are done in the previous article, we are now ready to create the CRUD end-points for the Contact resource. But, before that, I would like to cover a few methods that are needed in CRUD end-points such as fetching value(s) from dynamic params, reading request body, fetching value(s) from query string, and so on.
Styling in React
Sep 7, 2024Although, there are many possible ways you can use styles in React application, following are the general categories to choose from.
Hono Tutorial Pt. 3
Aug 7, 2024Before we go further and learn more about the Hono framework, the one thing that is bothering me is database credentials written in code. We should adjust the existing code by removing the credentials from the code and put it within the .env
file. We should never hard-code the secret(s) as per 12factor app.
Hono Tutorial Pt. 2
Aug 6, 2024In this article, we are going to connect the database in Hono application. For the purpose of demonstration, we are going to use PostgreSQL database and postgres as npm package. You are free to use any other package and database as steps will be similar except you need to consult the respected documentation for initial setup.
Phoenix Framework Pt. 3
Aug 5, 2024The routes of the application are defined within the lib/hello_web/router.ex
file. In this file, look for the following code snippet.
Phoenix Framework Pt. 2
Aug 4, 2024In this article, I am going to briefly explain to you the purpose of a few files and folders present in this hello
Phoenix project. This will be brief. Because, as you start to become familiar with Phoenix projects, it will become second nature to you.
Phoenix Framework Pt. 1
Aug 3, 2024This article assumes that you already know Elixir programming language. Further, following are the software you have on your computer.
Hono Tutorial Pt. 1
Aug 2, 2024This is the first article in a series where we are going to build a simple back-end application in Hono in Node.js environment.
PostgreSQL
Jul 28, 2024I suggest PostgreSQL when someone asks for the recommendation on what database one should use. I use PostgreSQL when I am learning or building something in a new web framework or library. I use PostgreSQL when I want to experiment with databases. PostgreSQL is the default choice for me in most of the cases.