Skip to content

Bug-Docs/nestjs-typeorm-beginner

Repository files navigation

SETUP GUIDE

  1. Fill your database details in .env file
  2. run "generate.bat your_message" (to generate migration in database/migrations folder, you can see generate.bat file in root folder)
  3. run "npm run migration:run" (migrate in database )
  4. run "npm link "adminjs"" (adminjs should be in double quotes)
  5. run "npm run start:dev" (now your project is running on )

NOTE

  1. adminjs/typeorm only supports entities that extend BaseEntity.
  2. Icon library used by adminjs

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

About

Basic project of NestJS with typeorm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published