BharatSeva / BharatSeva-Plus-Express-Server

This is Express Server of Bharat Seva.
Apache License 2.0
9 stars 8 forks source link

Enhancement: Separation of User Functionality #5

Open vaibhavyadav-dev opened 1 week ago

vaibhavyadav-dev commented 1 week ago

Description

Currently, the Bharat Seva+ project has both healthcare and user functionalities tightly coupled in the same service. To improve modularity, maintainability, and scalability, we need to decouple the user functionality and build it as a separate service. This will allow independent development, deployment, and scaling of the user and healthcare functionalities.

Proposal

Key Benefits

Tasks

  1. Refactor and remove user-related logic from the current healthcare service.
  2. Set up a new server that manages user (Patient) request only, microservice for user-related functionality.
  3. Build in Golang (Preferable) or JavaScript.
  4. Test the service.

Additional Notes

Expected Outcome

By the end of this task, the BharatSeva+ platform should have a decoupled architecture with a separate service for user management.

ApurvaBasule commented 1 week ago

hii @vaibhavyadav-dev i would like to take upon it could you please assign it to me

vaibhavyadav-dev commented 1 week ago

Hello @ApurvaBasule Thank you for your interest in taking on this issue. Before you proceed, could you please share your plan on how you intend to approach this task? Let’s align on the approach before you begin working.

ApurvaBasule commented 1 week ago

I apologize for the late response @vaibhavyadav-dev I've been busy with my college submission...I'm planning to proceed with setting up the user microservice as discussed..My approach will involve creating a new Express server,Once I have everything set up and verified that it works smoothly, I will document the microservice architecture and deployment steps to provide a clear overview of the changes made and I'll keep you updated on my progress!