Skip to content

Project made with Nest Js , Typescript, Postgres, Docker

Notifications You must be signed in to change notification settings

vikaskumr/simple-bank

Repository files navigation

Description

Simple Bank App exposing account Api Since this app is made with docker so please install all the necessary softwares to run docker on your local system https://docs.docker.com/get-docker/

Installation

$ npm install

Swagger

Swagger is available on route {{API_HOST}}/docs. Postman collection to import is available under ${{API_HOST}}/docs-json

Environment variables

make a .env file in the root directory and place the below value

NODE_ENV=development
DATABASE_URL=
APP_PORT=3000

make a docker.env file in the root directory and place the below value

POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=
PGADMIN_DEFAULT_EMAIL=
PGADMIN_DEFAULT_PASSWORD=

Running the app

docker compose up

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

Project made with Nest Js , Typescript, Postgres, Docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published