Skip to content

amirsht/nest-auth

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published