Skip to content

fedemerino/node-typescript-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

TypeScript Project with Node.js

This is a basic TypeScript/Node.js setup.

Requirements

  • Node.js
  • npm (Node Package Manager)

Installation

  1. Clone the repository:
git clone https://github.com/fedemerino/node-typescript-setup.git
  1. Navigate to the project directory:
cd node-typescript-setup
  1. Install the dependencies.
npm install

Scripts

  • npm run dev Runs the application in development mode using ts-node-dev.
  • npm run start Runs the application in production mode using ts-node.
  • npm run tsc Compiles the TypeScript code to JavaScript.

Project Structure

.
├── src
│   └── index.ts
├── package.json
├── tsconfig.json
└── README.md

Usage

To run the application in development mode, use:

npm run dev

To compile the TypeScript code to JavaScript, use:

npm run tsc

To run the application in production mode, use:

npm run start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors