deal-machine / newst

A project to list news from an API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Setup Database

# create containers
$ docker compose up -d

# open pgAdmin on browser and log in
$ http://localhost:8081/

# To create tables - running migrations
$ npm run / yarn migrate

# To drop tables - reverting migrations
$ npm run / yarn revert

# To create new migration
$ npx / yarn typeorm migration:create ./src/infra/database/typeorm/migrations/{MigrationName}

Installation

$ yarn install

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Test

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

License

Nest is MIT licensed.

About

A project to list news from an API


Languages

Language:TypeScript 95.4%Language:JavaScript 4.6%