/N28-NodeJS

NodeJS part of the new online bank master race

Primary LanguageJavaScriptMIT LicenseMIT

N28 API

Setup

  • Docker w/ Nodemon
  • Debug directly in VSCode
  • ES6 w/ Babel
  • Gulp Tasks
  • ESLint
  • Unit Testing

Prerequisites

Build

$ yarn install
$ yarn build #or run Build Task in VSCode

Launch in Dev (w/ Nodemon)

$ yarn start #for hot-reload just build in VSCode

Debug

$ yarn start
# Then just put some breakpoints and start "Localhost" config in Debug panel
# VSCode debugger will just attach to the docker node instance

Test

$ yarn lint
$ yarn test

Cleanup

$ yarn reset
# If you respond "y" you will loose every data in your databases