Skip to content

vaaghu/forex_trading_system

Repository files navigation

Finmo Backend Engineer Assignment

a Forex Trading System using Nest.js

setup used

  • nodejs 18.17.1
  • pnpm 9.0.5
  • psql (PostgreSQL) 14.10

Installation

$ pnpm install

or

$ npm install

Running the app

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

or

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ pnpm run test

# e2e tests
$ pnpm run test:e2e

# test coverage
$ pnpm run test:cov

Env

  API_KEY=******
  DATABASE_URL="postgresql://vaaghu:*****@localhost:5432/finmo?schema=public"

Other commands

interactive tables

  npx prisma studio

To seed the db

  npx prisma db seed

got all the currency AlphabeticCode from this git repo

License

Nest is MIT licensed.