The MERN Nexus

The MERN Nexus

Share

MERN stack web developer

07/05/2023

Installation and set up of typescript project. At first create a folder and open it from "VS code editor". Then open the terminal and
follow these commands:
1. tsc --init
2. npm init -y
3. npm i -D nodemon
4. npm i ts-node-dev
5. Then make src folder and go to tsconfig file. Search "rootDir" uncomment it and change it to ./src. According this also change "outDir" to .dist. Make sure that create a "dist" folder.
6. Go to package.json file and in the script write this command : "start": "ts-node-dev --respawn --transpile-only index.ts";

After do these you project will ready to run. The run comman is : npx ts-node-dev --respawn src/filename.ts

06/05/2023

Hi, Welcome to my page!
In this page I will post about programming and also upload teaching video.

Want your school to be the top-listed School/college in Gazipur?

Click here to claim your Sponsored Listing.

Location

Address


Gazipur
1754