Skip to content

moschiferous/express-ts-template

Repository files navigation

Express TypeScript Template

Look at the Express Documentation to learn more.

Setup

Make sure to install the dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

Development Server

Start docker containers:

docker compose up -d

Start the development server on http://localhost:3000, or you can change port in .env:

# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build