Osnova predmetu PV179

Milestone 2

Milestone 2 Requirements:

  • Introduce a business layer to the application.
  • Ensure every team member:
    • Creates at least 1 meaningful service.
    • Tests at least 1 service from another member using mocking. Ensure tests are meaningful.
  • Set up a CI/CD pipeline for Merge requests.
  • Update GitLab settings to:
    • Allow only successful merge requests to be merged.
    • Require 2 approvals for merging (effective from the start of working on 2nd milestone).
  • Integrate an Identity Framework:
    • Develop a separate MVC application for this.
    • For the current milestone, only implement authentication using the Identity Framework.
  • Develop Middleware to:
    • Transform API response to XML or JSON.
    • Default format should be JSON unless specified in the query parameter.
  • Ensure simultaneous running of both applications (MVC and WebAPI).
    • Each of them can access a different database.
  • (new) Ensure that MVC and WebAPI are set up as separate projects, allowing them to:
    • Operate under different configurations.
    • Use different database setups.
    • Maintain clear boundaries, ensuring API endpoints are not accessible from MVC, and vice versa.
  • Merge request procedures:
    • All Merge Requests for Milestone 2 should merge to a "Milestone 2" branch.
    • Post milestone completion, request a merge from "Milestone 2" to master.
    • "Milestone 2" branch should merge to master only with teacher's approval.
  • Update the readme to match the current codebase.
  • Change Request:
    • Switch to a different database from the current one.
    • Team to decide the new database. Ensure it's a different database.

      Deadline:

      • Milestone 2 - 26.11.2023
      • Milestone 2 Review - 3.12.2023