1.0.0 • Published 3 years ago
@reactivers/nestjs-typeorm-ts v1.0.0
Installation
npx @reactivers/nestjs-typeorm-ts your-app-nameGetting Started
Create Database
- Before you run
start:devscript, you need to create database. - Make sure the port "5442" is available on your end for
PostgreSQL! - Run the following command:
docker-compose up -d --build postgresRun Development
- Before running the dev server:
- Make sure the port "3000" is available on your end!
- Edit
.env.files before you start - Edit
container_namefields indocker-compose.ymlfile - Edit
init.sqldatabase namesNote!
- Make sure database names are matched in
init.sqland.envfiles!
yarn start:dev
Running Tests
yarn test
yarn test:e2eRunning Dev
yarn start:devDocker
BUILD
docker-compose up -d --buildAddress
The app will be running at
http://localhost:4011Clean
docker-compose down --remove-orphans --rmi "local" --volumes1.0.0
3 years ago