Repository navigation
Description
Ticket Contents
Description
Haqdarshak has curated over 5,000 verified schemes in 12+ local languages and supports assisted/self-service models for scheme discovery. To ensure wider last-mile access, Haqdarshak is training a growing network of agents. As we scale up, we aim to enable open discovery of Haqdarshak's training programs via public networks like ONDC/ONEST.
This project involves building a BPP/Provider microservice for exposing training content and a BAP/Seeker microservice for integration by third-party platforms that wish to onboard their own agents into these skilling programs.
Goals & Mid-Point Milestone
Goals
- Build a BPP/Provider-side microservice to expose scheme training modules with searchable metadata
- Enable training discovery in local languages with filters for topic, level, and language
- Provide a telemetry dashboard to analyze usage, search patterns, and discoverability metrics
- Create a BAP/Seeker-side integration module with clear setup instructions for third-party reuse
- Support optional voice input, search narrowing, and structured training data output
Setup/Installation
NA
Expected Outcome
A plug-and-play set of microservices (BPP + BAP) that enable any network or platform to discover and integrate Haqdarshak’s scheme training offerings.
Acceptance Criteria
✅ BPP service enables filtered, multilingual search for training modules
✅ BAP client can retrieve and display relevant training details in a usable format
✅ Telemetry dashboard shows discovery analytics and search behaviors
✅ Documentation and API guide available for onboarding partner platforms
✅ Voice-enabled discovery (optional) integrated for at least one language
Implementation Details
Stack: MERN (MongoDB, Express, React, Node.js)
Open Network Protocols: ONDC/ONEST service contract alignment
Data: Scheme training catalog in JSON, multilingual fields
Optional: Voice search, real-time indexing
Mockups/Wireframes
To be co-created with Haqdarshak team post-onboarding
Product Name
Schemes Training Services
Organisation Name
Haqdarshak
Domain
Training & Skilling
Tech Skills Needed
MERN stack, API development, ONDC/ONEST alignment
Mentor(s)
TBD
Category
Open Interoperability
Activity
Tamal-2702 commentedon Apr 21, 2025
Hello @tanishk2907 ,
I went through the repository but couldn’t find any frontend-related files like App.js, index.html, or a components/ directory. Could you please confirm where the actual codebase for this portal is maintained? It would help me get started on implementing the suggested enhancements.
ritankarsaha commentedon Apr 22, 2025
Could you share the repository link for the same? like the main repo with which this idea is to be aligned
PuneetJadoun commentedon Apr 22, 2025
Hello @tanishk2907 I am MERN stack Developer , I have already Expirence of a Complete MERN stack Application , I am intreseted to contribute to this Project Please Share any discord link , to move forwards so that i can raise PR , for the review .
moodyadi2006 commentedon Apr 24, 2025
Hey @tanishk2907,
I really loved this project—it aligns perfectly with my skill set as a MERN developer. I'd love to contribute to it! Since we’re building these microservices from scratch, I believe it makes sense to create a new repository for it. I’m setting that up now and will raise a PR shortly.
moodyadi2006 commentedon Apr 24, 2025
Hi, I just wanted to clear a few things. I never intended to open a PR right away — I only said that I'd begin setting up a repo to look into the work and eventually contribute towards an effective solution. I realize that such work cannot be done within a single PR, and I'm willing to cooperate with the project maintainer's expectations.
In response to the remark about MERN not being event-driven microservices — I'm receptive to criticism, but a better explanatory comment would've been appreciated over sarcasm. I'm truly willing to learn and contribute, and it would be wonderful if we can instead create an environment where we encourage each other rather than dissuading passionate contributors.
Let's instead try to lift one another up rather than put up obstacles. We're all here to learn.
AbhijyYdv547 commentedon Apr 26, 2025
Hi everyone!
I would like to work on this issue as part of the C4GT DMP 2025.
I have experience with the MERN stack, Prisma, Next.js, WebSockets, and some familiarity with Docker.
I am also eager to dive deeper into microservices architecture and related practices to complete this task effectively.
Please let me know if I can proceed, or if there are any guidelines you'd like me to follow before starting.
Looking forward to contributing! 🚀
Thank you!
Mohammadshiraz commentedon Apr 30, 2025
Hi @tanishk2907 👋,
I'm excited about the "Schemes Training Services" project by Haqdarshak and would love to contribute! With a strong background in the MERN stack and experience building RESTful APIs and scalable microservices, I'm confident I can help implement both the BPP and BAP components effectively. I'm especially interested in working on multilingual search, structured output for training modules, and integrating telemetry dashboards.
Looking forward to contributing to this impactful initiative! Please consider assigning me to this issue.
Thanks!
Mohammad Shiraz
yuvrajSingh-rajput commentedon Apr 30, 2025
Hi @tanishk2907, I'm a MERN stack developer and interested in this project. I have experience working with JSON data, multilingual fields, and am familiar with ONDC protocols. I'm also open to contributing to optional features like voice search and real-time indexing. Looking forward to the opportunity!
yatank1 commentedon May 1, 2025
hello @tanishk2907
I am currently pursuing a B.Tech from the University of Calcutta with practical experience in full-stack web development (MERN stack), Web3, Java Servlets, Spring Boot, and the Motoko language for blockchain applications. I am a Google Certified Digital Marketer and have contributed to AI and semantic research projects, including critical analysis and issue identification in published academic work related to smart city frameworks and workforce competence models.
My experience also includes hands-on data annotation tasks such as search term relevance, bounding boxes, structured database labeling, and curating large-scale datasets for machine learning workflows. I am currently focused on the [DMP 2025]: Scheme Training in Discovery Microservices for Open Networks, which aligns with my deep interest in decentralized systems, scalable architectures, and open network innovation.
I am highly motivated to learn new technologies, stay aligned with emerging industry standards, and contribute meaningfully to cutting-edge AI and open-source initiatives. With a strong technical foundation, a creative and analytical mindset, and a passion for impactful projects, I am confident in my ability to add value to forward-looking AI and microservices ecosystems.
Thank you
yatan kumar
Email- yatankumarofficial@gmail.com
Github-https://github.com/yatank1/
Portfolio website- https://portfolio-zeta-bay-94.vercel.app/
codesage01 commentedon May 2, 2025
hey @tanishk2907 is there any channel where i will discuss my ideas regarding this project.
Ghanshyambunkar commentedon May 4, 2025
Subject: Interest in Contributing to Scheme Training Discovery Microservices for Open Networks
Hi @tanishk2907
I’m Ghanshyam, a final-year B.Tech CSE student from Stani Memorial College of Engineering and Technology. I’m excited about the opportunity to contribute to this project. The real-world impact it could have—especially in underserved communities—aligns closely with my passion for building meaningful applications.
I’ve explored the problem space and have begun brainstorming solutions, including leveraging MERN stack for real-time progress tracking or integrating interactive UI/UX to boost engagement. With experience in full-stack development (MERN), I’ve built projects like:
Wandarlust: An Airbnb-inspired platform with user auth, dynamic search, and booking systems.
E-commerce App: A scalable product with payment integration and admin dashboards.
Simon Says Game: A lightweight interactive game showcasing frontend logic.
I’m confident I can contribute to making this platform robust and user-centric. Is there a Slack/Discord space for collaborators? I’d love to join discussions and refine my approach.
Looking forward to your thoughts!
Best,
Ghanshyam
issue number CodeForGoodTech#554
adsh16 commentedon May 5, 2025
Hi @future mentors,
I have submitted detailed proposal, encompassing relevant tech stack and details of the system to be designed. I am excited to work on this project under C4GT.
regards,
Aditya
Dibendu-Bera commentedon May 6, 2025
Hello @tanishk2907 & mentors, I am interested in contributing to this project by Haqdarshak. I am well acquainted with node.js and python and I think I will be the right fit to contribute to this. Kindly share the link to the repository of this project where I am supposed to contribute.
JoYSeKhArgithub commentedon May 16, 2025
hello @tanishk2907 I'm excited to express my interest in this project by Haqdarshak
As a final-year Computer Science student and a full-stack MERN developer, I bring hands-on experience in building and maintaining scalable applications across the stack. My skill set includes:
Developing and maintaining frontend applications using React.js with clean UI/UX practices and modular component design.
Creating a real-time communication platform using WebSockets for live data exchange.
Building tRPC-based applications for fully type-safe, end-to-end API communication.
Implementing full-stack solutions including system using Node.js, Express, PostgreSQL, and Prisma ORM with JWT authentication.
Creating a full-stack AI chatbot with Next.js, Redis, and Vector DB for intelligent web query resolution.
Designing a backend in .NET Core with MongoDB and JWT-based login/signup, including filtering, sorting, and pagination.
I'm especially drawn to this project because it promotes open access to skilling and scheme discovery through interoperable networks like ONDC/ONEST. I’m keen on contributing to:
Building the BPP/BAP microservices with structured, multilingual, and filterable data access.
Maintaining a robust and responsive frontend using React.
Integrating optional voice-based search features.
Developing a telemetry dashboard for actionable usage insights.
I’m confident my experience aligns with the project goals, and I’m enthusiastic about helping make this platform scalable, accessible, and impactful.
Looking forward to contributing!
ashish-um commentedon Jul 29, 2025
Weekly Learnings & Updates
Week 1 (Discovery & Initial Research)
dsepproject by Samagra, to understand existing implementations. I also learned that the official ONEST sandbox was no longer operational, which solidified the need to create my own local testing environment.title: { en: "...", hi: "..." }).Week 2 (Architecture & Asynchronous Flow)
beckn/protocol-serverandbeckn/onixrepositories. After discussing with my mentor, we confirmed their distinct roles:onixwould be my "rulebook" for official schemas and API contracts, whileprotocol-serverwould be the runnable "engine" for building the actual network participants.beckn-onix, but by running four separate, configured instances of theprotocol-serverto act as a BAP, BPP, Gateway, and Registry./searchrequest doesn't get an immediate answer but instead receives an ACK, with the actual data arriving later via an/on_searchcallback to a webhook. This was a fundamental shift from traditional REST APIs.Week 3 (Building the Local Sandbox & Debugging)
protocol-serverinstances. This "mini-network in a box" was instrumental for all future development, allowing me to test the full, complex protocol flow on my machine.getaddrinfo ENOTFOUNDerror, tracing it back to missing environment variables (REDIS_URL,MONGO_URI) in a Docker container's.envfile. This taught me the importance of meticulous configuration for inter-container communication.Week 4 (Authentication & End-to-End Flow)
/searchrequest initiated from the BAP successfully traveled through the local Gateway and Registry, was received by the BPP, and the BPP's/on_searchcallback was successfully sent back to the BAP.ASN1_get_object:header too longerror. This challenge forced me to dive deep into cryptographic standards, where I learned the crucial difference between a raw Base64-encoded secret key and a properly structured, ASN.1 encoded PEM key.Authorizationheader. Following this guidance, I architected a dedicated helper service,becknAuthService.js, to encapsulate the logic for creating the full, compliant signature header, including the digest and signing string, using thetweetnacllibrary.Week 5 (Implementing Elasticsearch for Advanced Search)
docker-compose.ymlfile. I then wrote a powerfulindexer.jsscript to populate the search index, creating a custom mapping to define thetagsandawarded-certificationsfields asnestedobjects, which is essential for accurate, structured queries.TimeoutErrorby implementing a chunking mechanism in theindexer.jsscript. I then solved the criticalunavailable_shards_exceptionby diagnosing it as a server resource issue, learning to check the container's internal logs, which revealed a "high disk watermark" warning. The solution involved freeing up disk space (docker system prune -a) and allocating more memory to the Elasticsearch container.Week 6 (Dynamic Search Logic & BPP Refinement)
onSearchController. It now contains conditional logic that inspects the incoming Becknintentfor asearch-typetag. This allows the controller to dynamically build the correct Elasticsearch query based on whether the user is searching for a "course" or a "certification".nestedquery. This query correctly targets thenameandvaluefields exclusively within theawarded-certificationstag group, ensuring that a search for a certification only returns courses that explicitly grant it.Week 7 (Frontend, Deployment & Production-like Testing)
course-nameorcertification, displaying them in clean, horizontally scrollable rows using Flexbox for a more organized user experience.registry.becknprotocol.io. This was a major step in preparing the services for a production-like setting.ngroktunnels.Week 8 (Telemetry Foundations – Setup & Instrumentation)
Week 9 (Telemetry Integration – Connecting Logs to Insights)
vector.yamlpipeline that received BPP logs over HTTP, enriched them with Beckn context fields (domain, action, bap_id, bpp_id, transaction_id, search_term), and pushed them into Loki.datasource.yml(pointing to Loki) anddashboards.yml(automatically loading dashboards). Exported my existing dashboard from Grafana Cloud and adapted it for the local Loki datasource.Week 10 (Telemetry Refinement – Production-Ready Observability)
Week 11 (End-to-End Validation & Partner Onboarding Documentation)
docker,docker-compose,nvm,pm2) and firewall rules./searchrequests.Week 12 (Final Documentation & Project Handover)
c4gt,haqdarshak-bpp,c4gt-beckn-servers). I added detailed comments to complex sections of the code, standardized the code formatting, and updated allREADME.mdfiles with clear setup and usage instructions.