---
title: "Harsh Chandwani (@harshchandwani) | Hashnode"
description: "Software Dev | MERN Developer. Read the latest articles by Harsh Chandwani on Hashnode."
url: "https://hashnode.com/@harshchandwani"
---

@harshchandwani

# Harsh Chandwani

@harshchandwani · India · Joined June 2021

Software Dev | MERN Developer

### [Generics in Typescript](https://harshchandwani.hashnode.dev/generics-in-typescript?utm_source=hashnode&utm_medium=feed)

type Input = number | string function firstElement(arr: Input\[\]): Input{ return arr\[0\]; } const value = firstElement(\["harsh", "chandwani", 9, 8, 7\]); console.log(value); //console.log(value.toUpperCase()); //now let us take the generics into ...

1 min read · [harshchandwani.hashnode.dev](https://harshchandwani.hashnode.dev/generics-in-typescript?utm_source=hashnode&utm_medium=feed)

[Aug 25, 2024](https://hashnode.com/posts/generics-in-typescript/66cadb6a4eb00b3df1fed594)

### [Enums in TypeScript](https://harshchandwani.hashnode.dev/enums-in-typescript?utm_source=hashnode&utm_medium=feed)

Here is the typescript file where I have compared enums with types //Okay now lets do this //basically when want to have a function, that should only some particular values, and it will be string //one option is to create a if statment that can handl...

2 min read · [harshchandwani.hashnode.dev](https://harshchandwani.hashnode.dev/enums-in-typescript?utm_source=hashnode&utm_medium=feed)

[Aug 25, 2024](https://hashnode.com/posts/enums-in-typescript/66cad1a93efe4a6e7a90d96b)

### [Getting Started with ASP.NET Core MVC: Creating and Configuring Endpoints](https://harshchandwani.hashnode.dev/getting-started-with-aspnet-core-mvc-creating-and-configuring-endpoints?utm_source=hashnode&utm_medium=feed)

Adding Endpoints

2 min read · [harshchandwani.hashnode.dev](https://harshchandwani.hashnode.dev/getting-started-with-aspnet-core-mvc-creating-and-configuring-endpoints?utm_source=hashnode&utm_medium=feed)

[Jun 2, 2024](https://hashnode.com/posts/getting-started-with-aspnet-core-mvc-creating-and-configuring-endpoints/665c24a482856a54aa7adf0a)

### [Writing my First CRUD app in Express for MongoDB](https://harshchandwani.hashnode.dev/writing-my-first-crud-app-in-express-for-mongodb?utm_source=hashnode&utm_medium=feed)

In the realm of web development, understanding CRUD operations is fundamental to creating robust and dynamic applications. CRUD, an acronym for Create, Read, Update, and Delete, represents the four essential operations that can be performed on data w...

3 min read · [harshchandwani.hashnode.dev](https://harshchandwani.hashnode.dev/writing-my-first-crud-app-in-express-for-mongodb?utm_source=hashnode&utm_medium=feed)

[Jan 8, 2024](https://hashnode.com/posts/writing-my-first-crud-app-in-express-for-mongodb/659ba9c15ccf7f43ba69bb06)

### [Writing my First Lines in Express JS](https://harshchandwani.hashnode.dev/writing-my-first-lines-in-express-js?utm_source=hashnode&utm_medium=feed)

So, in the previous days, I have enrolled in Harkirat’s 100xDevs 0–100. I have known Frontend but to explore, I took some base classes and coded by first HTTP Server. So, writing code is one thing and making it accessible to people is one thing, Expr...

2 min read · [harshchandwani.hashnode.dev](https://harshchandwani.hashnode.dev/writing-my-first-lines-in-express-js?utm_source=hashnode&utm_medium=feed)

[Dec 26, 2023](https://hashnode.com/posts/writing-my-first-lines-in-express-js/658a9edea7edd371c3a2b0ef)
