<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Priyadharshiny J</title>
    <description>The latest articles on DEV Community by Priyadharshiny J (@priyadharshiny13).</description>
    <link>https://dev.to/priyadharshiny13</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4068692%2F90857061-2860-45ec-af0f-90b0e83c1c78.png</url>
      <title>DEV Community: Priyadharshiny J</title>
      <link>https://dev.to/priyadharshiny13</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/priyadharshiny13"/>
    <language>en</language>
    <item>
      <title>Building an ATS Resume Scorer API with FastAPI, Celery, and Docker</title>
      <dc:creator>Priyadharshiny J</dc:creator>
      <pubDate>Fri, 30 Oct 2026 11:00:34 +0000</pubDate>
      <link>https://dev.to/priyadharshiny13/building-an-ats-resume-scorer-api-with-fastapi-celery-and-docker-3e8k</link>
      <guid>https://dev.to/priyadharshiny13/building-an-ats-resume-scorer-api-with-fastapi-celery-and-docker-3e8k</guid>
      <description>&lt;p&gt;Most resumes are filtered by ATS software before a human ever reads them. This project is a backend API that checks how well a resume matches a job description and suggests how to improve it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;PDF resume parsing:&lt;/strong&gt; extracts text from uploaded resumes using pdfplumber&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ATS keyword matching:&lt;/strong&gt; compares the resume against a job description and calculates a match score&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Smart suggestions:&lt;/strong&gt; generates actionable tips to improve the resume for a specific role&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;JWT authentication:&lt;/strong&gt; secured endpoints with role-based access for Job Seekers and Recruiters&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Batch scoring:&lt;/strong&gt; recruiters can score many resumes at once, handled in the background by Celery + Redis&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Tech stack
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Backend&lt;/td&gt;
&lt;td&gt;Python, FastAPI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Auth&lt;/td&gt;
&lt;td&gt;JWT (python-jose, passlib)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Database&lt;/td&gt;
&lt;td&gt;MySQL 8.0, SQLAlchemy ORM, Alembic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Task queue&lt;/td&gt;
&lt;td&gt;Celery + Redis&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PDF parsing&lt;/td&gt;
&lt;td&gt;pdfplumber&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Containers&lt;/td&gt;
&lt;td&gt;Docker&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;The user uploads a PDF resume and a job description.&lt;/li&gt;
&lt;li&gt;pdfplumber extracts the text from the PDF.&lt;/li&gt;
&lt;li&gt;The text is cleaned and matched against the keywords in the job description.&lt;/li&gt;
&lt;li&gt;The API returns a match score along with suggestions to improve the resume.&lt;/li&gt;
&lt;li&gt;For batch scoring, a recruiter submits many resumes. FastAPI queues each one as a Celery task through Redis, and workers score them in the background so the API stays fast.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How scoring works
&lt;/h2&gt;

&lt;p&gt;The API pulls the important keywords out of the job description, then checks how many of them appear in the resume text. The match score is the percentage of keywords found. Keywords that are missing become the basis for the improvement suggestions. Here is a simplified version of the idea:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;calculate_match_score&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;resume_text&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;job_keywords&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;dict&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;resume_text&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;resume_text&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;lower&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;matched&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;kw&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;kw&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;job_keywords&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;kw&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;lower&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;resume_text&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="n"&gt;missing&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;kw&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;kw&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;job_keywords&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;kw&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;lower&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;resume_text&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="n"&gt;score&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;round&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;matched&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="nb"&gt;len&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;job_keywords&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;job_keywords&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"score"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;score&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"matched"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;matched&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"missing"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;missing&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Problems I hit
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Messy text from PDF extraction&lt;/strong&gt;&lt;br&gt;
Text pulled from resumes sometimes had broken line breaks and extra spaces, which caused keywords to be missed. I fixed it by cleaning and normalizing the text (whitespace and lowercase) before matching.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Running Celery and Redis inside Docker&lt;/strong&gt;&lt;br&gt;
Background tasks did not run at first because the worker could not reach Redis. The fix was to use the Redis service name from the Docker network instead of localhost in the broker URL.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/priyadharshiny13/ats-resume-scorer" rel="noopener noreferrer"&gt;https://github.com/priyadharshiny13/ats-resume-scorer&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Question for you
&lt;/h2&gt;

&lt;p&gt;How would you improve the scoring beyond keyword matching: embeddings, or something else? I'd love to hear your suggestions.&lt;/p&gt;

</description>
      <category>python</category>
      <category>fastapi</category>
      <category>docker</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Building Smart Health API: A Production-Style REST API with CNN-Based Risk Prediction</title>
      <dc:creator>Priyadharshiny J</dc:creator>
      <pubDate>Sat, 08 Aug 2026 11:06:09 +0000</pubDate>
      <link>https://dev.to/priyadharshiny13/building-smart-health-api-a-production-style-rest-api-with-cnn-based-risk-prediction-d7g</link>
      <guid>https://dev.to/priyadharshiny13/building-smart-health-api-a-production-style-rest-api-with-cnn-based-risk-prediction-d7g</guid>
      <description>&lt;p&gt;Health apps often stop at a demo. I wanted to build something closer to a real backend: a REST API that authenticates users, takes input data, runs a CNN-based risk prediction, and handles heavier work in the background. This post covers how I structured it with FastAPI, Celery and role-based access control.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;REST API:&lt;/strong&gt; clean FastAPI endpoints with request validation and automatic Swagger docs&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;CNN-based risk prediction:&lt;/strong&gt; a trained model that returns a risk prediction through the API&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Authentication and RBAC:&lt;/strong&gt; JWT login with role-based access, so each user type only reaches the endpoints meant for them&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Background processing:&lt;/strong&gt; Celery handles longer-running tasks so the API stays responsive&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Production-style structure:&lt;/strong&gt; separated routers, models, schemas and services instead of one big file&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Tech stack
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Technology&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Backend&lt;/td&gt;
&lt;td&gt;Python 3.11, FastAPI&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ML&lt;/td&gt;
&lt;td&gt;CNN model for risk prediction&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Auth&lt;/td&gt;
&lt;td&gt;JWT, bcrypt password hashing, role-based access&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Database&lt;/td&gt;
&lt;td&gt;SQLAlchemy ORM&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Task queue&lt;/td&gt;
&lt;td&gt;Celery&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;A user registers and logs in, and receives a JWT token.&lt;/li&gt;
&lt;li&gt;The client sends a request with the input data, and FastAPI validates it with Pydantic schemas.&lt;/li&gt;
&lt;li&gt;The role check confirms the user is allowed to use that endpoint.&lt;/li&gt;
&lt;li&gt;The input is preprocessed and passed to the CNN model.&lt;/li&gt;
&lt;li&gt;The API returns the prediction as JSON, and heavier jobs are sent to Celery.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The model
&lt;/h2&gt;

&lt;p&gt;The prediction comes from a CNN that I load once when the app starts, not on every request, so each call only pays for inference. Keeping the model code behind a service layer also means I can swap or retrain the model without touching the API routes.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="c1"&gt;# paste your prediction endpoint here (10-20 lines)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Problems I hit
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Circular imports with SQLAlchemy&lt;/strong&gt;&lt;br&gt;
Once the project had separate files for models, schemas and routers, they started importing each other and the app failed on startup. I fixed it by moving shared pieces into their own modules and importing models in one direction only.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. bcrypt and password hashing errors&lt;/strong&gt;&lt;br&gt;
Password hashing broke during local setup because of a version mismatch between the hashing libraries. Pinning compatible versions in a clean Python 3.11 virtual environment fixed it. Pinning versions in requirements.txt now saves me from the same problem on other machines.&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/priyadharshiny13/smart-health-api" rel="noopener noreferrer"&gt;https://github.com/priyadharshiny13/smart-health-api&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A note
&lt;/h2&gt;

&lt;p&gt;This is a learning and portfolio project. It is not a medical device and should not be used for real diagnosis or treatment decisions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Question for you
&lt;/h2&gt;

&lt;p&gt;How would you make an ML prediction API more production-ready: model versioning, monitoring, or something else? I'd love to hear your suggestions.&lt;/p&gt;

</description>
      <category>python</category>
      <category>fastapi</category>
      <category>showdev</category>
      <category>machinelearning</category>
    </item>
  </channel>
</rss>
