/node-ts

Primary LanguageTypeScript

Node.js + TypeScript Starter

Deploy on Railway

Key Features

Prerequisites

Getting Started

  1. Use this template

  2. Clone the repository

  3. Install dependencies

    pnpm i
  4. Create environment file env.ts at the root

    export default {
      PORT: 80,
    } as const;

Usage

  • Development mode (debug)

    pnpm dev
  • Production build

    pnpm build && pnpm start