Skip to content

EN: 224, EN:237: Create contract API

Hamza requested to merge hs/create-contract-api into dev

Add following routes for contracts:

POST /contracts to create a contract

GET /contracts to get all contracts with pagination and filters

GET /contracts/:contractId to get a specific contract

PATCH /contracts/:contractId to edit a contract

DELETE /contracts/:contractId to delete a contract

  • Added contract roles
  • Added contract validations
  • Added contract service
  • Added contract controller
  • Added contract routes
Edited by Hamza

Merge request reports