/TS-backend-boilerplate

BiolerPlate code with Error Handling for Typescript for Node-Express Backend

Primary LanguageTypeScript

NODE Backend Biolder Plate with Typescript

This boilerplate includes connection to MongoDB and Different Kind of Error Handling

Steps to Run

Navigate to the TS-backend-boilerplate folder

cd TS-backend-boilerplate

Install the Dependencies by

npm i

For environment varibale rename the file example.config.env to config.env

Compile Typescript to Javascript

If You want to Edit or want to compile the TS while working on the project

npm run watch

If You want to compile the TS once

npm run build

After Compiling Typescript into Javascript, In another terminal run

npm run dev

Author : @ashutosh4336