H4MSK1 / bth-ramverk2-trading-platform-server

Trading platform server for course "ramverk2" on BTH

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Badges

Build Status Build Status Scrutinizer Code Quality Code Coverage

Description

API for a simple trading platform created using Nest Framework.

Installation

$ npm install

Configuration

Environment files for configuration are located in the /config/ folder. The structure for the dotenv files (files with a .local suffix are ignored by VCS):

  • .env – for default (fallback) values
  • .env.development – for development environment
  • .env.test – for test environment
  • .env.production – for production environment
  • .env.local – for individual default values
  • .env.development.local – for individual development environment values
  • .env.test.local – for individual test environment values
  • .env.production.local – for production environment values

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run build
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Documentation

Swagger OpenAPI docs available at route /api-docs

About

Trading platform server for course "ramverk2" on BTH


Languages

Language:TypeScript 100.0%