Skip to content

red3blue/balanceapp-service-backend

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

BalanceApp Service API

Getting started

# install dependencies
$ yarn install

# create .env in root path with db configuration (postgresql, mysql, etc)

# update pending migrations
$ yarn run migrations

# start the application
$ yarn run start:dev

Installation

# install dependencies
$ yarn install

# update pending migrations
$ yarn run migrations

Db and migrations

# create first migration
$ yarn prisma migrate dev --name init

# create prisma client
$ yarn prisma generate

# create migration
$ yarn prisma migrate dev --name some-name

# update pending migrations
$ yarn prisma migrate deploy

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Support

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.

Stay in touch

License

Nest is MIT licensed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published