Inspiration

What convinced us to make this project , you ask? Our main reason was to solve an everyday problem in our lives. Today you can see how fast and hectic life has become . A large percentage of population suffer from symptoms like fever, stomach pain, etc. which can be treated without going to hospitals or clinic. Wouldn't it be so much better if it all could be done in mere minutes?

What it does

It takes user's symptoms as input and makes use of the advanced features of Perplexity Sonar to give the most appropriate medicine to treat you. It also lets you have the complete details of the medicine you are taking.

How we built it

It was quite a learning experience we had while making this project:

  1. We made use of Perplexity Sonar model using perplexity api key given by perplexity pro.
  2. We then added the api key in the backend build on Flask to give and fetch data in JSON format.
  3. For the UI, we used react framework instead of standard HTML, CSS and JS.
  4. For connection between React frontend and Flask backend through specification of API endpoints.
  5. After most of our work was completed, we decided to deploy the web app on vercel platform to make it available to everyone. Thats the summary of our project.

Challenges we ran into

We never thought the process of building LetsDiag will have this many complications.:

  1. We had to thoroughly understand the documentation provided by perplexity use the api key provided.
  2. We didn't have any idea on how to how to give and fetch data from Flask backend using React. We were continuously running into error screen which said >Traceback: Most recent call .
  3. After some time we figured out it was a CORS error which can resolved through flask_cors.

Accomplishments that we're proud of

Through this made major breakthroughs in term of our knowledge

  1. We were able to connect 2 frameworks build on different languages to each other through CORS.
  2. The project is deployed and is publically available.

What we learned

From this project we know have a better understanding of:

  1. How to work with LLM apis.
  2. Resolving CORS
  3. Full Stack Project Creation
  4. Setup required to deploy a full stack application.

What's next for LetsDiag

We are more leaning towards making it delivery app where:

  1. It would identify pharmacies close to the user.
  2. It would also provide the user to have the contact details of that pharmacy.
  3. It could also by medicines online purchasing.
  4. The customer will be provided different purchasing options and can even have pdf of the receipt.

Built With

Share this project:

Updates

posted an update

Product Update: Let'sDiag – Smarter Symptom-Based Recommendations!

We’re excited to share that Let'sDiag, our intelligent medicine recommendation platform, is steadily evolving! Users can now enter their symptoms and instantly get a curated list of recommended medicines—complete with live Wikipedia insights for each suggestion. The backend is powered by a Flask API, while the frontend is crafted with React + TailwindCSS for a smooth, responsive experience. Deployed on Render (backend) and Vercel (frontend), everything runs lightning-fast and secure.

What's live:

Symptom-based medicine suggestions

Clean and intuitive UI

Wikipedia integration for quick insights

Mobile-friendly design

Coming soon (will take time) :

Voice symptom input

User history tracking

Dark mode support

We’re just getting started. Drop your feature requests and feedback below—we’d love to hear from you and shape Let's Diag together! Stay tuned for more updates and improvements.

Log in or sign up for Devpost to join the conversation.