/nestjs-typeorm-starter

Node.js Nest framework starter with TypeORM

Primary LanguageTypeScript

nestjs-typeorm-starter

Node.js Nest framework starter with TypeORM

Configuration

Edit the file in the config folder.

default, production, development, test

Installation

npm ci

Create a typeorm model in the entity folder.

Development

npm run start:dev

Run http://localhost:3000

Test

npm test # exclude e2e
npm run test:e2e

Production

# define NODE_ENV and PORT
npm run build
# NODE_ENV=production PORT=8000 node dist/app
node dist/app
# OR
npm start

Implements

Links