Skip to content

anocaj/reporting-system

Repository files navigation

ReportingSystem

This project was initialized with Nx as the monorepo build system. For the backend I have chosen the following main technologies:

  • UI: Angular, NGRX and tailwindcss.
  • API: NestJs
  • Due to time limitations I decided to not use a database but instead load the testdata in memory. This means that the changes get not persisted after shutting down the api server.

Implementation Details

  • Block Item:
    • UI: Will change the Report State from "Open" to "Blocked"
    • API: Will replace the respective item in memory with the new state
  • Resolve Item:
    • UI: Will be removed from the List
    • API: Will replace the respective item in memory with the new state
  • API: get api/reports will return all reports with resolved items filtered out. (Filter parameter was not implemented due to time constraint )

Run the Application

  1. Run npm install
  2. Run npm run start:api Server runs on http://localhost:3333/api.
  3. Run npm run start:ui. Navigate to http://localhost:4200/.

Running unit tests

  • Run npm run test:ui to execute the frontend unit tests via Jest.
  • Run npm run test:api to execute the backend unit tests via Jest.

Running end-to-end tests

Run npm run test:e2e to execute the end-to-end tests via Cypress.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published