CS3219-AY2425S1 / cs3219-ay2425s1-project-g33

nus-cs3219-ay2425s1-cs3219-ay2425s1-project-project-template created by GitHub Classroom
MIT License
4 stars 2 forks source link

Refactor duplicate code (DTOs, payloads, etc) to a common shared library #53

Open Jajared opened 1 month ago

Jajared commented 1 month ago

Feature: Creating a shared library on backend to contain all duplicate DTOs, payloads and schemas.

Description

Currently there is a need ensure that both the gateway and respective microservice have the same and consistent DTOs. This can lead to alot of extra code as well as unnecessary effort to ensure that both data are matching. Thus we should create a shared library. Note that we will need to package this library together in the respective docker containers once this is completed

evanyan13 commented 1 month ago

Agree with this can look into something called contract or a basic shared lib is fine as well