GSoC Week 9 Experience: Migrating EHR to Laravel - User Module & Roles Module

Search for a command to run...

No comments yet. Be the first to comment.
Connecting Alexa to a Local LLM Running on Raspberry Pi

Introduction Have you ever used: "It works on my machine,". Now, with containerization and cloud computing technologies like Docker and Amazon EC2, those days are gone. Docker, a leading containerization platform, provides a convenient way to package...

Project: Migrate EHR to Laravel - User & Roles Module Introduction I am excited to present my final work submission report for the Google Summer of Code (GSoC) 2023 project: "Migrating LibreHealth EHR to Laravel: Roles and Users Module." Over the pas...

Introduction: Welcome back to the eleventh week of my exciting journey in the Google Summer of Code program. In this blog post, I'm thrilled to share the progress made during this crucial week, including the completion of requested reviews and change...

Introduction: Welcome back to the tenth week of my exhilarating journey in the Google Summer of Code program. In this blog post, I'm excited to share updates on the accomplishments from the past week, including the successful implementation of the Da...

Welcome back to the ninth week of my thrilling journey in the Google Summer of Code program. This week has been packed with exciting developments, as I continued to make substantial progress in the Users Module. In this blog post, I am thrilled to share updates on the achievements from the past week, including the significant advancements made in the "Invitation Module" and the finalization of user creation. Additionally, I'll outline my plans for the upcoming week as I approach the conclusion of the project.
During this week, I dedicated my efforts to refining the Invitation Module based on valuable reviews and suggestions from my mentor. One of the major improvements made was separating the invitation logic from the user code, which has resulted in a more streamlined and organized implementation. As per the feedback, I have also utilized tokens for the invitation process, enhancing security and efficiency.
Here is the code on how I implemented the Invite class. Please provide some suggestions if any.

To ensure the reliability and functionality of the Invitation Module, I thoroughly tested it with Mailhog locally. This rigorous testing process allowed me to identify and address any potential bugs or issues, leaving the module in a robust state.
MailHog is an Open Source email testing tool with a fake SMTP server underneath. It allows you to configure your application to send mail to MailHog instead of to your default SMTP server. MailHog catches all mail sent to it and stores them for display in a web-based user interface for you to view.

With the Invitation Module successfully implemented and tested, I proceeded to finalize the user creation process. I made the necessary adjustments to the user table and incorporated the user form data from the invitations, ensuring a smooth and seamless user registration process.
Looking ahead to the upcoming week, I plan to focus on creating a dashboard UI dedicated to tracking and managing sent invitations. This dashboard will provide administrators with an overview of all pending and accepted invitations, simplifying the invitation process and enhancing user management.
Additionally, I will dedicate time to implement the valuable feedback provided by my mentor. Addressing these reviews will further refine and enhance the overall functionality and user experience of the Users Module.
I encountered a challenge in handling JSON-based API responses with Inertia during my previous tasks. Therefore, my plan is to seek assistance and explore effective solutions to incorporate Axios for sending requests and handling JSON responses seamlessly within the Inertia framework.
As the ninth week of the Google Summer of Code program concludes, I feel a sense of pride and accomplishment in the progress made so far. The successful implementation of the Invitation Module and finalization of the user creation process mark significant milestones in this project. I am eager to tackle the challenges ahead in the coming week as I work on the dashboard UI and address mentor reviews.
Thank you for joining me on this exciting journey. Please like and subscribe to stay updated on future progress. 🚀