Skip to content

pragmaticcoders/nodejs-interview

Repository files navigation

nodejs-interview-exercise

Simple backend API for skills list application.

Project can contain a few "not the best" solutions that can be pointed out by the candidate during interview.

prerequisites

  • node v14.17.0+
  • npm v6.14.15+
  • docker-compose version 1.25.0+
  • docker version 20.10.7+

run tests

  • install dependencies npm install
  • run docker with postgres npm run start:services keep it running in separate terminal
  • run tests npm run test

notes

  • You can switch to use storage mocks in .env file: USE_DB_MOCK=true
  • tests should pass for integration tests with dockerized database and also with mocked storages

troubleshooting

  • in case of error related to installing dependencies install libpq (on mac: brew install libpq)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published