/node-ts

Primary LanguageTypeScript

Node.js + TypeScript Starter

Key Features

Prerequisites

Getting Started

  1. Deploy on Railway or 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