A progressive Node.js framework for building efficient and scalable server-side applications.
Init project nestjs with mysql
- mysql: 8.0.19
- After install mysql finish => create database (mgt_library) => run cmd: ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
- https://docs.nestjs.com/techniques/database
- https://stackoverflow.com/questions/50093144/mysql-8-0-client-does-not-support-authentication-protocol-requested-by-server
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
http://localhost:3002/api-docs-library
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
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.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.