Skip to content

Latest commit

 

History

History
80 lines (57 loc) · 3.36 KB

README.md

File metadata and controls

80 lines (57 loc) · 3.36 KB

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.

Database Installation

Install Docker engine

$ docker run -d -p 3434:3306 --name users -e MYSQL_ROOT_PASSWORD=1234 -e MYSQL_DATABASE=task_mgmt -e MYSQL_USER=amir -e MYSQL_PASSWORD=1234 mysql/mysql-server:latest

$ docker exec -it users bash

$ mysql -u root -p

$ 1234

mysql> CREATE USER 'root'@'172.17.0.1' IDENTIFIED BY 'password';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'172.17.0.1' WITH GRANT OPTION;

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

Stay in touch