Hi, thanks for applying for the Backend node.js developer position at Kross Finance Korea. This coding challenge is aiming to evaluate a candidate's problem-solving skills in real-world experiences. The specific tasks are listed in the Github issue tracker and you could submit and merge a PR as you might work with the GitHub issue tracker. The tasks include a bug fix and feature request.
- This
README
file has a basic description of the project. Please read it carefully. - Look through the tasks and give a quick time estimation for completing the challenge.
- Submit the PR and merge by yourself for each task. Make sure to specify how much time you spent on the task.
- use
yarn
overnpm
$ yarn install
- running docker container
$ docker compose up -d
- running DB migration to check database is available
$ NODE_ENV=test yarn migration:run
- running test to check everything is fine
$ yarn test
$ yarn test
or
$ yarn test src/users # to run single directory
or
$ yarn test src/users/users.service.spec.ts # to run single file
$ yarn start:dev
make sure to specify NODE_ENV
. the default is local
- create new migration
yarn migration:generate
- run migration
yarn migration:run
- rollback migration
yarn migration:revert