Tag: nodejs
-
Step-by-Step Guide to Setup Typescript with Vue 3
If you’re planning to use Vue3 with Typescript, there are a few steps you need to follow to set up your project. In this blog post, we’ll guide you through the process of setting up Typescript with Vue3 using Vite. Prerequisites Before we begin, make sure you have the following installed on your system: Step […]
-
Creating REST APIs using Node, Express, Typescript, Mongodb
In the last tutorial, we were able to setup our client using React. In this part, we gonna be focusing on the backend/server building the API’s for our Todo App. Setting up Mongodb Let’s install lerna add ‘mongoose’ –scope ‘@fullstackopenjs/server’ lerna add -D ‘@types/mongoose’ –scope ‘@fullstackopenjs/server’ This will install the dependencies In order to use […]
-
Setting up a custom logger for node express typescript server
In the last tutorial, we learnt how to setup typescript to a node-express app. Let’s move further, and setup a custom logger for our node-express-typescript app, so that whenever we want to log something in our terminal, we have pretty colored and formatted outputs. We don’t want console.log’s anymore in our application code. So let’s […]
-
Top 10 Node.js Frameworks for Backend Web Development
Are you a backend web developer or someone looking for a solution to build your web application’s backend? Then Read on… In this article, we are going to checkout out the Top 10 Node.js Frameworks used for Server-Side Backend Web Development based on the current available Public Data. When it comes to Server-Side Development for […]
-
Using Design Patterns in Node.js – Part 1
When we code or create programs, we always want our written code to be adaptable, optimized and reusable. And often while building software’s, we want that – changes in our code should not affect the other features or create bugs, or the impact of the change to be low. Some say, coding is like a […]
-
Build a blog using nodejs without using any framework – Part 3
In this article, we will see how to create blog posts : Lets create a route for creating posts : We will create a /add-post route add-post.ejs The /create-post will be our api endpoint to capture the form data. Since it will be in ‘application/x-www-form-urlencoded’ format, we need to parse the data to represent as […]
-
Build a blog using nodejs without using any framework – Part 2
n our previous tutorial Part-1, we saw how to setup our server.In this tutorial, we will work on the templating and routing of our blog app. Let’s get going… Templating In Nodejs we can use Template Engines to render dynamic content in our template by representational logic. In our case, we will use ejs (embedded js) […]
-
Build a Blog using Nodejs without using any framework- Part 1
We will be using Nodejs and Mongodb.. No Express Framework ! for building our App. This article is for those who wants to learn to use core of nodejs and its extensibility features. Since we are not using any frameworks, we might need to build many stuff using our own. Feeling Excited ? Let’s get […]