Production-oriented Django + DRF application for resume-to-job matching and role prediction, now delivered through a Django template UI (no separate React frontend required).
- Python 3.11+
- Django 5 + DRF
- PostgreSQL
- JWT auth (
simplejwt) - spaCy + NLTK + scikit-learn
- pdfplumber + python-docx
- Celery + Redis ready
- Open terminal at
C:\Users\swarn\OneDrive\Desktop\Resumix. - Activate env:
- PowerShell:
newenv311\Scripts\Activate.ps1
- PowerShell:
- Install dependencies:
pip install -r requirements.txt
- Create env file:
- copy
.env.exampleto.env
- copy
- Download NLP resources:
python -m nltk.downloader stopwords punktpython -m spacy download en_core_web_sm
- Create PostgreSQL database (
resume_db) and update.envcredentials. - Run migrations:
python manage.py makemigrationspython manage.py migrate
- Create admin user:
python manage.py createsuperuser
- Start backend:
python manage.py runserver
- Open app UI:
http://127.0.0.1:8000/
Suggestions are generated by built-in rule-based logic from:
- missing skills
- ATS compliance score
- experience relevance score
- Ensure backend dependencies are installed.
- Run:
python ml\training\train_model.py
- Generated artifacts:
ml\artifacts\tfidf_vectorizer.pklml\artifacts\role_classifier.pklml\artifacts\label_encoder.pkl
POST /api/auth/register/POST /api/auth/login/POST /api/auth/refresh/POST /api/resume/upload/POST /api/resume/analyze/GET /api/resume/history/GET /api/admin/users/GET /api/admin/stats/
Final Score = (Keyword Similarity * 0.4) + (Skill Match * 0.3) + (Experience Relevance * 0.2) + (ATS Compliance * 0.1)
GET /api/docs/
- Install/upgrade dependencies:
pip install -r requirements.txt
- Set production env values (use
.env.exampleas template):DJANGO_DEBUG=FalseDJANGO_ALLOWED_HOSTS=<your-domain>DJANGO_CSRF_TRUSTED_ORIGINS=https://<your-domain>DATABASE_URL=<managed-postgres-url>(or fillPOSTGRES_*)
- Apply migrations:
python manage.py migrate
- Collect static files:
python manage.py collectstatic --noinput
- Start app server:
gunicorn resume_analyzer.wsgi --log-file -
Procfile is included for platforms that auto-detect process startup.