-
Notifications
You must be signed in to change notification settings - Fork 7
Implement Database
Masanori Ohgita edited this page Mar 4, 2023
·
4 revisions
Connect your backend (NestJS) application to database such as MySQL, PostgreSQL, SQLite and others.
Our angular-nest template provides as close as possible to the standard NestJS project structure.
Therefore, database connection can be done according to the standard NestJS method.
https://docs.nestjs.com/techniques/database
Since angular-nest template was structured with a Monorepo with using npm workspaces, YOU NEED to add -w server
parameter when you executing npm install
command for your backend application.
e.g. $ npm install -w server @nestjs/typeorm typeorm mysql2