Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 659 Bytes

README.md

File metadata and controls

24 lines (16 loc) · 659 Bytes

PG Assignment

Solution to the problem described in ASSIGNMENT.md

Getting started

  • Make sure node + npm are installed
  • Install dependencies: npm i
  • Start the backend and frontend: npm start
  • Browse to: http://localhost:4200/

In the file path textbox, enter a path to a log file or use the included test log file: sudo cp test.log /var/log

Run tests and linter

  • npm run test
  • npm run test-server (ensure the included test file is located at /var/log/test.log)
  • npm run e2e
  • npm run lint

Todo

  • Add more client side unit tests
  • Check for binary files and respond with a warning