Interview task Password Health

How to start

  • create a GitHub project from the template by clicking Use this template and filling the information required
  • create a new branch develop
  • before returning the task create a merge request from develop to master in your repository, so it's easier to see all the changes

Setup

  • run yarn

  • run yarn start. make sure required ports are available

  • open http://localhost:8080/

  • Enter your mocked user credentials

    username: admin

    password: admin

Scripts

yarn start:server - starts mocked backend.

yarn start:web - starts dev server.

yarn start - starts both dev server and mocked backend.

yarn test - runs tests in project.

Information

Don't forget that mocked backed server doesn't store your tokens in database they are stored in memory, so your tokens will be invalid after server restart.