GSoC'25 idea: Migrate IHR API #58
Replies: 8 comments 14 replies
-
Hello @dpgiakatos & @romain-fontugne, I've been exploring the Django codebase for the Migrate IHR API project and analyzing the best approach for transitioning to FastAPI. While reviewing the architecture, I have a few questions: 1️⃣ What are the key challenges you anticipate during the migration? Looking forward to your insights! |
Beta Was this translation helpful? Give feedback.
-
Hi @Romain, @Dimitrios, I’ve successfully deployed the IHR-Django Backend on my localhost and am working through the setup. Could you please provide some guidance on how to obtain the login credentials or a valid token to access the API? I’d like to get familiar with the database models and test the functionality, but the README doesn't include any login details. Additionally, are there any other resources or materials, apart from the documentation, that could help me make proper requests or better understand how to interact with the API? Any help would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
-
Hi @dpgiakatos i was going through the current codebase and analyzing the things that might be required to be modified in order to achieve a successful migration to FastApi and had a few doubts regarding the same.
Looking forward to your views on above. Will be very help helpful to me if you could provide some guidance for above questions. Thnaks. |
Beta Was this translation helpful? Give feedback.
-
@dpgiakatos I would like to contribute to this project. I would like to know 1 things.
|
Beta Was this translation helpful? Give feedback.
-
@dpgiakatos : I am interested in contributing to this project. Could you please clarify the requirements on below queries
|
Beta Was this translation helpful? Give feedback.
-
@dpgiakatos I have some questions Would you like the Bash scripts to handle database seeding (adding initial data), or will that be managed separately? |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I'm currently drafting a GSoC proposal for migrating the IHR API from Django to FastAPI. I wanted to clarify whether OAuth support is needed as part of the authentication and authorization mechanisms. Should we implement OAuth2, or would a simpler authentication method (e.g., JWT or session-based auth) be preferable? Also, are there any existing authentication flows that need to be preserved in the new API? Looking forward to your feedback! |
Beta Was this translation helpful? Give feedback.
-
All results displayed on the Internet Health Report website are accessible via the IHR REST API. The current codebase is developed on an outdated version of Django (2.2.27), which is no longer supported, and we are not utilizing all of Django's features. Therefore, instead of just upgrading the Django version, we plan to migrate the codebase from the complex Django framework to a simpler framework, such as FastAPI. Additionally, the current Django framework includes code for initializing/managing the database. This time, we want to implement Bash scripts for initializing/managing the database, which will result in better maintenance.
Expected results:
Knowledge Prerequisite:
Resources:
Old discussion page:
https://github.com/orgs/InternetHealthReport/discussions/40
Beta Was this translation helpful? Give feedback.
All reactions