Skip to content

Commit 0fb3233

Browse files
committed
sample(05-sql-typeorm): update dependecie for mysql 8.x and some improvements
1 parent 411ef5e commit 0fb3233

3 files changed

Lines changed: 80 additions & 40 deletions

File tree

sample/05-sql-typeorm/package-lock.json

Lines changed: 78 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sample/05-sql-typeorm/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"@nestjs/core": "8.2.3",
2424
"@nestjs/platform-express": "8.2.3",
2525
"@nestjs/typeorm": "8.0.2",
26-
"mysql": "2.18.1",
26+
"mysql2": "2.3.3",
2727
"reflect-metadata": "0.1.13",
2828
"rimraf": "3.0.2",
2929
"rxjs": "7.4.0",

sample/05-sql-typeorm/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { AppModule } from './app.module';
33

44
async function bootstrap() {
55
const app = await NestFactory.create(AppModule);
6-
await app.listen(3000);
6+
await app.listen(3000, '0.0.0.0');
77
console.log(`Application is running on: ${await app.getUrl()}`);
88
}
99
bootstrap();

0 commit comments

Comments
 (0)