Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hirwa13/node-typescript-starter-project

Node x TypeScript Starter Project
https://github.com/hirwa13/node-typescript-starter-project

nodejs pnpm typescript

Last synced: 17 days ago
JSON representation

Node x TypeScript Starter Project

Awesome Lists containing this project

README

        

# Node js and TypeScript Starter Project

This is a starter project for building Node.js applications using Typescript. it is set up with pnpm as the package manager.

## Project Setup

first install `pnpm` in your pc or mac [install here](https://pnpm.io/)

1. Clone the repository:
```bash
git clone https://github.com/HIRWA13/Node-Typescript-Starter-Project.git
```

2. Install the dependencies:
```bash
pnpm install
```

## Available Scripts
This project includes the following scripts:

- `pnpm run build`: Compiles the TypeScript code to JavaScript and outputs it to the `dist` directory.

- `pnpm run start`: Runs the compiled JavaScript code from the `dist` directory.

- `pnpm run dev`: Runs the development server with hot reloading.

## Project Structure

The project has the following structure:

```
node-typescript-starter/
├── dist/ # Compiled JavaScript files
├── src/ # TypeScript source code
│ └── ...
├── .gitignore # Git ignore file
├── package.json # Project configuration and dependencies
├── pnpm-lock.yaml # pnpm lock file
├── README.md # Project Documentation
└── tsconfig.json # TypeScript configuration
```

## Author

- [Junior Hirwa](https://github.com/HIRWA13)